From: Richard Jones Date: Tue, 21 Apr 2009 08:40:11 +0000 (+0100) Subject: Another CDPATH fix (Ján ONDREJ (SAL)). X-Git-Tag: 1.8~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=6e19bf07700264ef7006f778cd555354e0b42fca;p=febootstrap.git Another CDPATH fix (Ján ONDREJ (SAL)). --- diff --git a/febootstrap-to-initramfs.sh b/febootstrap-to-initramfs.sh index 5fa7f5e..6dfc3f9 100755 --- a/febootstrap-to-initramfs.sh +++ b/febootstrap-to-initramfs.sh @@ -25,7 +25,7 @@ if [ $# -ne 1 ]; then exit 1 fi -cd "$1" +cd "$1" > /dev/null if [ ! -f fakeroot.log -a $(id -u) -ne 0 ]; then echo "no fakeroot.log and not running as root"