]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: silence popd and pushd
authorKefu Chai <kchai@redhat.com>
Wed, 18 Dec 2019 11:56:22 +0000 (19:56 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 19 Dec 2019 03:52:56 +0000 (11:52 +0800)
otherwise they will echo the pushed/popped directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh

index b9ea1d4fdf39aa9c6cd305f703e9b7fe0893dbe9..fb9d28f13b6d9d97d1b3fd630192607618509af5 100755 (executable)
@@ -488,7 +488,7 @@ function activate_virtualenv() {
 function preload_wheels_for_tox() {
     local ini=$1
     shift
-    pushd .
+    pushd . > /dev/null
     cd $(dirname $ini)
     local require_files=$(ls *requirements*.txt 2>/dev/null) || true
     local constraint_files=$(ls *constraints*.txt 2>/dev/null) || true
@@ -507,7 +507,7 @@ function preload_wheels_for_tox() {
         mv $wip_wheelhouse wheelhouse
         md5sum $require_files $constraint_files > $md5
     fi
-    popd
+    popd > /dev/null
 }
 
 # use pip cache if possible but do not store it outside of the source