diff --git a/.gitignore b/.gitignore index 6c1debd6..417c7e31 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ *.pyc *.zip *.exe -osx64-Cura-NewUI* -win32-Cura-NewUI* -linux-Cura-NewUI* -Printrun +osx64-Cura-* +win32-Cura-* +linux-Cura-* +Printrun \ No newline at end of file diff --git a/package.sh b/package.sh index 2a9038ae..d059f665 100755 --- a/package.sh +++ b/package.sh @@ -40,6 +40,11 @@ function checkTool # Actual build script ############################# +# Change working directory to the directory the script is in +# http://stackoverflow.com/a/246128 +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +cd $SCRIPT_DIR + checkTool git "git: http://git-scm.com/" checkTool curl "curl: http://curl.haxx.se/" if [ $BUILD_TARGET = "win32" ]; then