to address following failure
+ cd ceph-14.2.6 ceph-14.2.6.tar.bz2 ceph-14.2.6.tar.gz
/tmp/jenkins10747333749307639424.sh: line 1058: cd: too many arguments
Signed-off-by: Kefu Chai <kchai@redhat.com>
# unpack the tar.gz that contains the debian dir
cd dist
tar xzf *.orig.tar.gz
-cd ceph-*
+cd $(basename *.orig.tar.gz .orig.tar.gz | sed s/_/-/)
pwd
BRANCH=`branch_slash_filter $BRANCH`
# unpack the tar.gz that contains the debian dir
cd dist
tar xzf *.orig.tar.gz
-cd ceph-*
+cd $(basename *.orig.tar.gz .orig.tar.gz | sed s/_/-/)
pwd
$SUDO yum install -y yum-utils