From: Richard Jones Date: Mon, 20 Apr 2009 19:10:08 +0000 (+0100) Subject: Don't print output of 'cd' (Ján ONDREJ (SAL)). X-Git-Tag: 1.8~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=efd83597d9107b725e1b31a88540ff3a5e52ec41;p=febootstrap.git Don't print output of 'cd' (Ján ONDREJ (SAL)). --- diff --git a/configure.ac b/configure.ac index ca5ff2b..ec4a1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. dnl dnl Written by Richard W.M. Jones -AC_INIT(febootstrap,1.6) +AC_INIT(febootstrap,1.7) AM_INIT_AUTOMAKE AC_CHECK_PROG(PERLDOC,[perldoc],[perldoc],[no]) diff --git a/febootstrap.sh b/febootstrap.sh index 0b38411..fc819fe 100755 --- a/febootstrap.sh +++ b/febootstrap.sh @@ -18,8 +18,6 @@ # # 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: \ @@ -150,7 +148,7 @@ rm -rf "$target" mkdir "$target" # Target must be an absolute path. -target=$(cd "$target"; pwd) +target=$(cd "$target" > /dev/null; pwd) # This is necessary to keep yum happy. It's not clear why yum can't # just create this file itself.