From 4a72eec54fe8609ec11f6e2372c231e4d0cb828e Mon Sep 17 00:00:00 2001 From: Dimitar Zhekov Date: Thu, 20 May 2004 12:51:01 +0000 Subject: [PATCH] Dimitar Zhekov: fix x86/makeimages.sh -reroot for the new dir struct [2004052014161803522] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3056 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- target/bootdisk/x86/makeimages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/bootdisk/x86/makeimages.sh b/target/bootdisk/x86/makeimages.sh index b5da2487e..f66ad1b9f 100644 --- a/target/bootdisk/x86/makeimages.sh +++ b/target/bootdisk/x86/makeimages.sh @@ -2,10 +2,10 @@ if [ "$1" = -reroot ] ; then echo "Old PATH: $PATH" - PATH="../root/sbin:../root/bin:../root/usr/sbin:../usr/bin:$PATH" + PATH="../../sbin:../../bin:../../../sbin:../usr/bin:$PATH" echo "New PATH: $PATH" echo "Old LD_LIBRARY_PATH: $LD_LIBRARY_PATH" - export LD_LIBRARY_PATH="../root/lib:../root/usr/lib:$LD_LIBRARY_PATH" + export LD_LIBRARY_PATH="../../lib:../../usr/lib:$LD_LIBRARY_PATH" LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:} echo "New LD_LIBRARY_PATH: $LD_LIBRARY_PATH" shift