From: Adam Goldsmith Date: Sun, 29 Sep 2013 11:52:56 +0000 (-0400) Subject: Fix package.sh to update Power and CuraEngine, rather that failing to clone them... X-Git-Tag: 13.10~36^2~2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1eab206530abbd64b5b18042f07c728822d246ad;p=cura.git Fix package.sh to update Power and CuraEngine, rather that failing to clone them (in the Debian section). --- diff --git a/package.sh b/package.sh index abf9fb89..6b4d47b7 100755 --- a/package.sh +++ b/package.sh @@ -138,8 +138,20 @@ fi ############################# if [ "$BUILD_TARGET" = "debian" ]; then - git clone https://github.com/GreatFruitOmsk/Power - git clone https://github.com/Ultimaker/CuraEngine + if [ ! -d "Power" ]; then + git clone https://github.com/GreatFruitOmsk/Power + else + cd Power + git pull + cd .. + fi + if [ ! -d "CuraEngine" ]; then + git clone https://github.com/Ultimaker/CuraEngine + else + cd CuraEngine + git pull + cd .. + fi make -C CuraEngine rm -rf scripts/linux/debian/usr/share/cura mkdir -p scripts/linux/debian/usr/share/cura