From bf91c1a8c9539ed5516530ca0109760982930d3a Mon Sep 17 00:00:00 2001 From: Billy O'Mahony Date: Wed, 1 Jun 2016 09:43:19 +0100 Subject: 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 Reviewed-by: Szilard Cserey Reviewed-by: Liang Gao --- tools/ubuntu-server-cloudimg-modify.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') 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) -- cgit 1.2.3-korg