From: Ken Dreyer Date: Thu, 27 Aug 2015 22:32:51 +0000 (-0600) Subject: takora: fix os string comparison X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4faf3a17aa4a7ea32d7be261d6ad858aae800685;p=ceph-build.git takora: fix os string comparison In bash, strings compare with "==" not "-eq" And /etc/os-release's ID is "ubuntu" not "Ubuntu" --- diff --git a/takora/build/build b/takora/build/build index 7b00837d0..b13b101bf 100644 --- a/takora/build/build +++ b/takora/build/build @@ -7,7 +7,7 @@ cd $WORKSPACE/takora DEBIAN=0 -if [ "$ID" -eq 'Ubuntu' ] ; then +if [ "$ID" == 'ubuntu' ] ; then DEBIAN=1 fi