]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix hash-bang directive in nova_create_flavors.sh
authorEoghan Glynn <eglynn@redhat.com>
Mon, 8 Oct 2012 11:51:17 +0000 (12:51 +0100)
committerEoghan Glynn <eglynn@redhat.com>
Mon, 8 Oct 2012 11:53:36 +0000 (12:53 +0100)
The script employs bash-isms, so the directive to use the
Bourne shell causes some predictable failures:

  nova_create_flavors.sh: [[: not found

... etc.

Change-Id: I60f3de55d2ebbfa47d444ec72c07728bbfa38be6

tools/nova_create_flavors.sh

index 0bfc224c077971034b0b8ae1441e36384927fa60..8481723ccd744a46071245b3e39133aff7d1d5e1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # Create additional nova instance types (flavors)
 # to map to the AWS instance types we have in the templates