Make sure all executables we package are executable.
authorWard Vandewege <ward@curoverse.com>
Sat, 1 Nov 2014 00:40:58 +0000 (20:40 -0400)
committerWard Vandewege <ward@curoverse.com>
Sat, 1 Nov 2014 00:40:58 +0000 (20:40 -0400)
No issue #

jenkins/run-build-packages.sh

index 3a8f9c9cd2ce033a4b4420d79df81a44f2dfe308..eca16fccc4d0f46ea090e1b59f416e502789232d 100755 (executable)
@@ -187,6 +187,9 @@ source /etc/profile.d/rvm.sh
 # out our git tree here
 chmod o+r "$WORKSPACE" -R
 
+# More cleanup - make sure all executables that we'll package are 755
+find -type d -name 'bin' |xargs -I {} find {} -type f |xargs -I {} chmod 755 {}
+
 # Now fix our umask to something better suited to building and publishing
 # gems and packages
 umask 0022