Don't print output of 'cd' (Ján ONDREJ (SAL)).
[febootstrap.git] / febootstrap.sh
index 5bdb5db..fc819fe 100755 (executable)
@@ -148,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.