diff --git a/gendeb.sh b/gendeb.sh index 11bd7ae..c984e1b 100755 --- a/gendeb.sh +++ b/gendeb.sh @@ -28,6 +28,7 @@ for i in dist functions mods; do done # setting +mkdir -p $rootdir/etc/remaster/ cp -v src/config.sample.cfg $rootdir/etc/remaster/config.sample.cfg diff --git a/src/remaster.sh b/src/remaster.sh index 0cddef8..454e261 100755 --- a/src/remaster.sh +++ b/src/remaster.sh @@ -9,7 +9,7 @@ ##################################################################################### #get base dir rootdir=`echo $0 | rev | cut -d "/" -f 2- | rev`/../../ -rootdir=`readlink -e $rootdir` +export "rootdir=`readlink -e $rootdir`"" #set functions if [ -p "$rootdir/usr/lib/remaster/" ]; then