From b900dfdd10cab92a5c6978bc0f4db8f167ae82a9 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 20 Apr 2009 21:16:06 +0100 Subject: [PATCH] unset CDPATH --- febootstrap-minimize.sh | 2 ++ febootstrap-run.sh | 2 ++ febootstrap-to-initramfs.sh | 2 ++ febootstrap.sh | 2 ++ 4 files changed, 8 insertions(+) diff --git a/febootstrap-minimize.sh b/febootstrap-minimize.sh index 21b7522..b4f23c5 100755 --- a/febootstrap-minimize.sh +++ b/febootstrap-minimize.sh @@ -18,6 +18,8 @@ # # Written by Richard W.M. Jones +unset CDPATH + TEMP=`getopt \ -o '' \ --long help,all,none,keep-locales,drop-locales,keep-docs,drop-docs,keep-cracklib,drop-cracklib,keep-i18n,drop-i18n,keep-zoneinfo,drop-zoneinfo,keep-rpmdb,drop-rpmdb,keep-yum-cache,drop-yum-cache,keep-services,drop-services,keep-sln,drop-sln,keep-ldconfig,drop-ldconfig,no-pack-executables,pack-executables \ diff --git a/febootstrap-run.sh b/febootstrap-run.sh index 55df233..d3a7603 100755 --- a/febootstrap-run.sh +++ b/febootstrap-run.sh @@ -18,6 +18,8 @@ # # Written by Richard W.M. Jones +unset CDPATH + TEMP=`getopt \ -o g:i: \ --long help,ro \ diff --git a/febootstrap-to-initramfs.sh b/febootstrap-to-initramfs.sh index 1fdd50e..5fa7f5e 100755 --- a/febootstrap-to-initramfs.sh +++ b/febootstrap-to-initramfs.sh @@ -18,6 +18,8 @@ # # Written by Richard W.M. Jones +unset CDPATH + if [ $# -ne 1 ]; then echo "febootstrap-to-initramfs DIR > initrd.img" exit 1 diff --git a/febootstrap.sh b/febootstrap.sh index fc819fe..867de63 100755 --- a/febootstrap.sh +++ b/febootstrap.sh @@ -18,6 +18,8 @@ # # Written by Richard W.M. Jones +unset CDPATH + TEMP=`getopt \ -o g:i:p:u: \ --long groupinstall:,group-install:,help,install:,noclean,no-clean,proxy:,updates: \ -- 1.8.3.1