summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-03-22 18:05:42 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:23 +0100
commit07c3a04027bb3243892ab2812558864330fac440 (patch)
treee9ad644b3c4b428097508d96dcd80691e85a74fc /helpers
parentee955b12ce2aefa37acf8390b9ba2b87b1fa7a0b (diff)
downloadvyos-live-build-07c3a04027bb3243892ab2812558864330fac440.tar.gz
vyos-live-build-07c3a04027bb3243892ab2812558864330fac440.zip
lh_binary_debian-installer: Remove "local"-oriented bashisms
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_debian-installer7
1 files changed, 5 insertions, 2 deletions
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 5d26fe90f..df16f9809 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -113,8 +113,11 @@ INITRD_GI="gtk/initrd.gz"
DESTDIR_GI="${DESTDIR}/gtk"
Install_file() {
- local FILE="${1}"
- local TARGET="${2}"
+ local FILE
+ FILE="${1}"
+
+ local TARGET
+ TARGET="${2}"
SOURCE="$(dpkg -f ${FILE} Source | awk '{ print $1 }')"