]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ice-setup/takora: fix shebang
authorKen Dreyer <kdreyer@redhat.com>
Thu, 27 Aug 2015 22:23:37 +0000 (16:23 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 27 Aug 2015 22:26:26 +0000 (16:26 -0600)
with the shebang line fixed, Jenkins is really using bash to execute
this.

And in takora, this means we can go back to single brackets for a
conditional.

ice-setup/build/build
takora/build/build

index d1e6628f72b1334d5caa13281eda1c507952a5ce..ac8f4e1f92f8ca9d1436988be91cc1fad51ea672 100644 (file)
@@ -1,4 +1,4 @@
-#/bin/bash -ex
+#!/bin/bash -ex
 
 echo "BRANCH: $BRANCH"
 cd $WORKSPACE/ice-setup
index 9ff263806a34219a86bfdfbde287333e6a0f0f22..7b00837d0d8b24cbbaa6f1e44608bac783825c7a 100644 (file)
@@ -1,4 +1,4 @@
-#/bin/bash -ex
+#!/bin/bash -ex
 
 echo "BRANCH: $BRANCH"
 cd $WORKSPACE/takora
@@ -7,7 +7,7 @@ cd $WORKSPACE/takora
 
 DEBIAN=0
 
-if [[ "$ID" -eq 'Ubuntu' ]] ; then
+if [ "$ID" -eq 'Ubuntu' ] ; then
     DEBIAN=1
 fi