(PS3) Fixes Makefile - doesn't do unnecessary git clones when

not necessary now
This commit is contained in:
twinaphex 2013-01-04 18:59:23 +01:00
parent 7e426d171b
commit 8c302470e9

View File

@ -151,12 +151,12 @@ copy-media-files:
create-shaders:
ifeq ($(DOWNLOAD_SHADERS),1)
if [ -d $(SHADER_PKG_DIR) ]; then
cd $(SHADER_PKG_DIR)
$(GIT) pull
cd ../../../../..
else
$(GIT) clone git://github.com/libretro/common-shaders.git $(SHADER_PKG_DIR)
@if test -d $(SHADER_PKG_DIR); then \
cd $(SHADER_PKG_DIR); \
$(GIT) pull; \
cd ../../../../..; \
else \
$(GIT) clone git://github.com/libretro/common-shaders.git $(SHADER_PKG_DIR); \
fi
endif