summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocaldebpool8
1 files changed, 4 insertions, 4 deletions
diff --git a/localdebpool b/localdebpool
index e6723a4..9fcc168 100755
--- a/localdebpool
+++ b/localdebpool
@@ -23,7 +23,7 @@ compactlist() {
}
regexfromlist() {
- echo $@ | sed 's/[[:space:]]\+/|/g; s/+/\\+/g; s/^/(/; s/$/)/'
+ echo "$*" | sed 's/[[:space:]]\+/|/g; s/+/\\+/g; s/^/(/; s/$/)/'
}
sectionsfromhintstream() {
@@ -137,7 +137,7 @@ EOF
genrelease() {
dist="$1"
shift
- sections="$@"
+ sections="$*"
archs="$(archsfromdirs "$PRVBASE/sections"/*/"$dist")"
archs="$(compactlist $archs)"
case "$dist" in
@@ -156,7 +156,7 @@ Components: $sections
EOF
}
-packages="$@"
+packages="$*"
packages="$(compactlist $packages)"
debugprint "Packages: \"$packages\""
@@ -189,7 +189,7 @@ batchsections_re=
if [ -n "$batchsections" ]; then
batchsections_re="\b$(regexfromlist $batchsections)(\s|\Z)"
else
- echo 1>&2 "ERROR: Package(s) $@ was not found in any section."
+ echo 1>&2 "ERROR: Package(s) $* was not found in any section."
exit 1
fi