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

View file

@ -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 )