diff --git a/scripts/cbox-build.sh b/scripts/cbox-build.sh index a0d6e50..d3c3023 100755 --- a/scripts/cbox-build.sh +++ b/scripts/cbox-build.sh @@ -51,7 +51,7 @@ if [ -e "$(get_config_file cbox-dev.conf)" ] IMAGE_DIR="$BUILD_DIR/image" IMAGEZ_DIR="$BUILD_DIR/image.z" IMAGEZ_FILE="${IMAGE_FILE/\.iso/_compressed.iso}" -UNCOMPRESSED_ITEMS="_offline autorun.ini start.html" +UNCOMPRESSED_ITEMS="_offline autorun.inf start.html" ####################### functions ###################### @@ -157,6 +157,9 @@ for a in $LOCALCONF_DIR $CUSTOM_CONFIGURE_DIR while [ $# -gt 0 ] do case "$1" in dfsbuild ) + # check if we are in ROOT_DIR - otherwise we will have problems with + # relative paths in dfs-box.conf + [ "$ROOT_DIR" -ef "$(pwd)" ] || error_die 1 "Sorry: you have to run $0 while you are in '$ROOT_DIR'!" run_dfsbuild ;; config )