Remove usage of pushd/popd from android makefile so Debian can work (assuming zip is installed)

This commit is contained in:
OttoLidenbrock 2015-05-15 20:49:54 +10:00
parent ce92c40653
commit ff09365cd0

View File

@ -666,10 +666,10 @@ assets : $(ASSETS_TIMESTAMP)
ls -R | grep ":$$" | sed -e 's/:$$//' -e 's/\.//' -e 's/^\///' > "index.txt"; \ ls -R | grep ":$$" | sed -e 's/:$$//' -e 's/\.//' -e 's/^\///' > "index.txt"; \
find MultiCraft >"filelist.txt"; \ find MultiCraft >"filelist.txt"; \
cp ${ROOT}/${ASSETS_TIMESTAMP} ${ROOT}/${ASSETS_TIMESTAMP}.old; \ cp ${ROOT}/${ASSETS_TIMESTAMP} ${ROOT}/${ASSETS_TIMESTAMP}.old; \
pushd ${ROOT}/assets/MultiCraft; \ cd ${ROOT}/assets/MultiCraft; \
echo "Creating Files.zip"; \ echo "Creating Files.zip"; \
zip -r -X -q ../Files.zip *; \ zip -r -X -q ../Files.zip *; \
popd; \ cd ${ROOT}/assets; \
else \ else \
echo "nothing to be done for assets"; \ echo "nothing to be done for assets"; \
fi fi