Another CDPATH fix (Ján ONDREJ (SAL)).
[febootstrap.git] / febootstrap.sh
index 0b38411..867de63 100755 (executable)
@@ -150,7 +150,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.