X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fbootstrap;h=de408c8c94428fc34936288d108a14042213f577;hb=53abcdf3bc6701894ab8a61857fb46d160bd6f93;hp=a44033ce6f6dab3fe9ab2204b4b89ed222350b83;hpb=ff9ed7c6c97639724efbe1beee356c9c8011d19a;p=synfig.git diff --git a/synfig-core/trunk/bootstrap b/synfig-core/trunk/bootstrap index a44033c..de408c8 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 @@ -33,6 +37,7 @@ s/@PACKAGE_NAME@/$PACKAGE_NAME/g; s/@PACKAGE_BUGREPORT@/$PACKAGE_BUGREPORT/g; s/@PACKAGE_TARNAME@/$PACKAGE_TARNAME/g; s/@PACKAGE_VERSION@/$PACKAGE_VERSION/g; +s|@SVN_REPOSITORY@|$SVN_REPOSITORY|g; s/@VERSION@/$VERSION/g; s/@API_VERSION@/$API_VERSION/g; s/@VERSION_MAJ@/$VERSION_MAJ/g; @@ -219,9 +224,7 @@ set +x output Patching libtool... patch config/ltmain.sh config/ltmain.patch ) || true - -false && -{ +false && { # Something went wrong... set +x output Failure. @@ -308,3 +311,5 @@ cleanup; # Move back to the current directory cd $CURR_DIR + +make -C src/synfig/proto