From: Stefano Stabellini Date: Mon, 16 Mar 2015 10:41:00 +0000 (+0000) Subject: Create INST_DIR if missing. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9c0b448fa1ef4d36e71996c819b3921635809588;p=people%2Fgdunlap%2Fraisin.git%2F.git Create INST_DIR if missing. Signed-off-by: Stefano Stabellini --- diff --git a/build.sh b/build.sh index dd3062c..a269d31 100755 --- a/build.sh +++ b/build.sh @@ -8,13 +8,8 @@ export MAKE=${MAKE-make -j} export PREFIX=${PREFIX-/usr} export INST_DIR=${DESTDIR-dist} -if test ! -d "$INST_DIR" -then - echo "DESTDIR not set correctly" - exit 1 -fi INST_DIR=`readlink -f $INST_DIR` - +mkdir -p "$INST_DIR" source xen.sh source grub.sh