diff --git a/bin/disk-image-create b/bin/disk-image-create index 03333b460..61d5c25f6 100755 --- a/bin/disk-image-create +++ b/bin/disk-image-create @@ -25,7 +25,7 @@ export DIB_ARGS="$@" export DIB_ENV=$(export | grep ' DIB_.*=') SCRIPTNAME=$(basename $0) -SCRIPT_HOME=$(dirname $0) +SCRIPT_HOME=$(dirname $(readlink -f $0)) if [ -d $SCRIPT_HOME/../share/diskimage-builder ]; then export _PREFIX=$SCRIPT_HOME/../share/diskimage-builder else