]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-puppet-modules: cd into basedir
authorKen Dreyer <kdreyer@redhat.com>
Fri, 28 Aug 2015 20:47:03 +0000 (14:47 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 28 Aug 2015 20:47:03 +0000 (14:47 -0600)
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

index b3b792f0fd7a7e0c9414b044b6451f50dcad0a69..5f87c86dffa6972f2cd01b8acc68d446c3abf8fb 100755 (executable)
@@ -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