X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fbootstrap;h=3d7759b4498bb2278451232a7560b44675547a6f;hb=842d1c156ee50dc0045a0b0272d090c01965b2f0;hp=85fb254aee7515fe36b448d4cca726a20a4676cb;hpb=18f426c62a55555033ed25ae1b0037638b18553f;p=synfig.git diff --git a/synfig-core/trunk/bootstrap b/synfig-core/trunk/bootstrap index 85fb254..3d7759b 100755 --- a/synfig-core/trunk/bootstrap +++ b/synfig-core/trunk/bootstrap @@ -9,13 +9,17 @@ # # Grab the current directory and move to our own -CURR_DIR=$(pwd) -cd $(dirname $0) +CURR_DIR="$(pwd)" +cd "$(dirname $0)" # Environment Variables -BOOTSTRAP_NAME=$(basename $0) -CONFIG_DIR=$(pwd)/config +BOOTSTRAP_NAME="$(basename $0)" +CONFIG_DIR="$(pwd)/config" +[ -x /bin/cygpath ] && CONFIG_DIR="`cygpath -m -s "$CONFIG_DIR"`" +[ -x /bin/cygpath ] && CONFIG_DIR="`cygpath -u "$CONFIG_DIR"`" +[ -x /bin/cygpath ] && CURR_DIR="`cygpath -m -s "$CURR_DIR"`" +[ -x /bin/cygpath ] && CURR_DIR="`cygpath -u "$CURR_DIR"`" # Automake,Autoconf, and Libtool versions that we require #AUTOCONF_VERSION=2.5 #AUTOMAKE_VERSION=1.6 @@ -218,8 +222,8 @@ set +x ( output Patching libtool... patch config/ltmain.sh config/ltmain.patch -) || -{ +) || true +false && { # Something went wrong... set +x output Failure. @@ -306,3 +310,5 @@ cleanup; # Move back to the current directory cd $CURR_DIR + +make -C src/synfig/proto