summaryrefslogtreecommitdiffstats
path: root/tools/ubuntu-server-cloudimg-modify.sh
diff options
context:
space:
mode:
authorBilly O'Mahony <billy.o.mahony@intel.com>2016-06-01 09:43:19 +0100
committerBilly O'Mahony <billy.o.mahony@intel.com>2016-06-01 09:43:19 +0100
commitbf91c1a8c9539ed5516530ca0109760982930d3a (patch)
tree0dcb1c1964615605e1fa1f854a2c2cc9b26bd1b0 /tools/ubuntu-server-cloudimg-modify.sh
parent438596f8942f13e5c5c429b9ae38878e87a3e6ca (diff)
ubuntu-server-cloudimg-modify: fix location of #! shell line
The #!/bin/bash was not on the first line of the script so the script was run as sh not bash. This meant some obvious things like ${VAR} do not work. Change-Id: Ieac3e4aca8e7f34ac7985cca5b6ef12e7705f202 Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com> Reviewed-by: Szilard Cserey <szilard.cserey@gmail.com> Reviewed-by: Liang Gao <jean.gaoliang@huawei.com>
Diffstat (limited to 'tools/ubuntu-server-cloudimg-modify.sh')
-rwxr-xr-xtools/ubuntu-server-cloudimg-modify.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/ubuntu-server-cloudimg-modify.sh b/tools/ubuntu-server-cloudimg-modify.sh
index f9e0a2c47..fd9eac717 100755
--- a/tools/ubuntu-server-cloudimg-modify.sh
+++ b/tools/ubuntu-server-cloudimg-modify.sh
@@ -1,3 +1,4 @@
+#!/bin/bash
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
#
@@ -7,8 +8,6 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-#!/bin/bash
-
# installs required packages
# must be run from inside the image (either chrooted or running)