commit | e749003e887ccbc87b60e7a9088c506f9898a8f6 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Dec 11 12:40:53 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Dec 14 16:12:08 2014 -0800 |
tree | d81b599f21ef8d82587a3e90bd8e30be8bbafdc3 | |
parent | 8d71fdb94b0ec48cb4e45cc3207679987fc15448 [diff] [blame] |
ci: Avoid unnecessarily complicated use of find Change-Id: I95e16732bb9fa22bb4a019ab549f38f6b7e09714
diff --git a/.jenkins b/.jenkins index afc4699..674d751 100755 --- a/.jenkins +++ b/.jenkins
@@ -3,7 +3,8 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -for i in $( find "$DIR/.jenkins.d" -type f -perm +111 | sort ); do - echo "Run: $i" - "$i" +for file in "$DIR"/.jenkins.d/*; do + [[ -f $file && -x $file ]] || continue + echo "Run: $file" + "$file" done