From: Ken Dreyer Date: Fri, 28 Aug 2015 20:47:03 +0000 (-0600) Subject: ceph-puppet-modules: cd into basedir X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a0ddce2157a2469efe4d4c32fe4d80e6307d97c2;p=ceph-build.git ceph-puppet-modules: cd into basedir Jenkins clones takora to "basedir: takora". cd to this location, instead of assuming that we're already at the root of the git clone. This fixes the error: cd: debian: No such file or directory --- diff --git a/ceph-puppet-modules/build/rename-ceph-puppet-modules b/ceph-puppet-modules/build/rename-ceph-puppet-modules index b3b792f0..5f87c86d 100755 --- a/ceph-puppet-modules/build/rename-ceph-puppet-modules +++ b/ceph-puppet-modules/build/rename-ceph-puppet-modules @@ -5,7 +5,7 @@ oldname='takora' newname='ceph-puppet-modules' -cd debian +cd $WORKSPACE/takora/debian for file in $(find . -type f); do if [ $file == './copyright' ]; then