From a0ddce2157a2469efe4d4c32fe4d80e6307d97c2 Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Fri, 28 Aug 2015 14:47:03 -0600 Subject: [PATCH] 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 --- ceph-puppet-modules/build/rename-ceph-puppet-modules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5