COMPRESSED_ITEMS updated

warning, if build script is not run from ROOT_DIR
This commit is contained in:
lars 2005-09-26 20:53:54 +00:00
parent e755609afb
commit f15ad301f8
1 changed files with 4 additions and 1 deletions

View File

@ -51,7 +51,7 @@ if [ -e "$(get_config_file cbox-dev.conf)" ]
IMAGE_DIR="$BUILD_DIR/image" IMAGE_DIR="$BUILD_DIR/image"
IMAGEZ_DIR="$BUILD_DIR/image.z" IMAGEZ_DIR="$BUILD_DIR/image.z"
IMAGEZ_FILE="${IMAGE_FILE/\.iso/_compressed.iso}" IMAGEZ_FILE="${IMAGE_FILE/\.iso/_compressed.iso}"
UNCOMPRESSED_ITEMS="_offline autorun.ini start.html" UNCOMPRESSED_ITEMS="_offline autorun.inf start.html"
####################### functions ###################### ####################### functions ######################
@ -157,6 +157,9 @@ for a in $LOCALCONF_DIR $CUSTOM_CONFIGURE_DIR
while [ $# -gt 0 ] while [ $# -gt 0 ]
do case "$1" in do case "$1" in
dfsbuild ) 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 run_dfsbuild
;; ;;
config ) config )