X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=c986d81deba2a4d20534146ef54a425f0418cbec;hb=834b6398feab7fb5d093dfdb2e59fc6d5aa35039;hp=faf52e75576666e85bd60a97625e3da0a6e80e7b;hpb=447d4cb4b661f93c91eff4fa1600de412c14ab54;p=bootcd.git diff --git a/build.sh b/build.sh index faf52e7..c986d81 100755 --- a/build.sh +++ b/build.sh @@ -121,11 +121,11 @@ echo "* Building images for $FULL_VERSION_STRING" # should do is check whether the expected amount of space # is available. BUILDTMP=/usr/tmp -if [ -d /data ] ; then - isreadonly=$(mktemp /data/isreadonly.XXXXXX || /bin/true) +if [ -d /data/tmp ] ; then + isreadonly=$(mktemp /data/tmp/isreadonly.XXXXXX || /bin/true) if [ -n "$isreadonly" ] ; then rm -f "$isreadonly" - BUILDTMP=/data + BUILDTMP=/data/tmp fi fi