# Environment Variables
BOOTSTRAP_NAME=$(basename $0)
-CONFIG_DIR=$(pwd)/config
+CONFIG_DIR="config"
-. $CONFIG_DIR/build.cfg
+. "$CONFIG_DIR/build.cfg"
SED_SCRIPT="
s/@PACKAGE@/$PACKAGE/g;
for FILENAME in project.spec ; do {
output Creating $FILENAME...
-sed "$SED_SCRIPT" < $CONFIG_DIR/$FILENAME.in > $FILENAME;
+sed "$SED_SCRIPT" < "$CONFIG_DIR/$FILENAME.in" > "$FILENAME";
} ; done
output Renaming project.spec to $PACKAGE.spec...
cat NEWS >> "$PACKAGE.spec"
output Creating configure.in from configure.ac...
-sed "$SED_SCRIPT" < $CONFIG_DIR/configure.ac > configure.in;
+sed "$SED_SCRIPT" < "$CONFIG_DIR/configure.ac" > configure.in;
output Setting up build environment...
(
# $INTLTOOLIZE -c &&
$LIBTOOLIZE -c -f &&
- $ACLOCAL -I $CONFIG_DIR $ACLOCAL_FLAGS &&
+ $ACLOCAL -I "$CONFIG_DIR" $ACLOCAL_FLAGS &&
aclocalfix &&
$AUTOHEADER &&
$AUTOMAKE --foreign --add-missing --copy --include-deps &&
cleanup;
# Move back to the current directory
-cd $CURR_DIR
+cd "$CURR_DIR"