From 3edca54923495cf48186808dd2ed788315c29126 Mon Sep 17 00:00:00 2001 From: Dmitriy Budnik Date: Tue, 6 Nov 2012 09:58:24 +0200 Subject: [PATCH] Fixed path for calling build_uec_ramdisk.sh from build_usb_boot.sh Bug desc: build_usb_boot.sh is unable to find build_uec_ramdisk.sh while being called from tools directory. Variable with correct path wasn't been used at all. Change-Id: I5ddff3d587a495e6768163f6b282e5b5f7a40849 --- tools/build_usb_boot.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/build_usb_boot.sh b/tools/build_usb_boot.sh index f64b7b6866..8566229833 100755 --- a/tools/build_usb_boot.sh +++ b/tools/build_usb_boot.sh @@ -11,7 +11,6 @@ DEST_DIR=${1:-/tmp/syslinux-boot} PXEDIR=${PXEDIR:-/opt/ramstack/pxe} -PROGDIR=`dirname $0` # Clean up any resources that may be in use cleanup() { @@ -81,7 +80,7 @@ fi # Get image into place if [ ! -r $PXEDIR/stack-initrd.img ]; then cd $TOP_DIR - $PROGDIR/build_uec_ramdisk.sh $PXEDIR/stack-initrd.img + $TOOLS_DIR/build_uec_ramdisk.sh $PXEDIR/stack-initrd.img fi if [ ! -r $PXEDIR/stack-initrd.gz ]; then gzip -1 -c $PXEDIR/stack-initrd.img >$PXEDIR/stack-initrd.gz