summaryrefslogtreecommitdiff
path: root/scripts/live-helpers
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-02-24 14:41:30 +0100
committerDaniel Baumann <daniel@debian.org>2012-04-05 07:47:30 +0200
commit5ca613caa8948bb2686b592880f45caaa61e4662 (patch)
treee81a7cae0461c4f2da400125eccb27e4695eca6e /scripts/live-helpers
parent57f78bf4a7fd838d47addc7feff5cf22550bc240 (diff)
downloadlive-boot-5ca613caa8948bb2686b592880f45caaa61e4662.tar.gz
live-boot-5ca613caa8948bb2686b592880f45caaa61e4662.zip
Handle list arguments better in get_custom_mounts().
Diffstat (limited to 'scripts/live-helpers')
-rw-r--r--scripts/live-helpers5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index e612092..243256a 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -1228,8 +1228,9 @@ get_custom_mounts ()
# Side-effect: leaves $devices with live.persist mounted in ${rootmnt}/live/persistent
# Side-effect: prints info to file $custom_mounts
- local devices="${1}"
- local custom_mounts="${2}" # print result to this file
+ local custom_mounts=${1}
+ shift
+ local devices=${@}
local bindings="/tmp/bindings.list"
local links="/tmp/links.list"