From fe7ecbbff1dac8d228a90f24ecb338ca4e80d9c6 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Wed, 11 Nov 2015 05:46:19 +0100 Subject: [PATCH] update_asr(8): fix argument handling Passing in labels of specific services did not actually work at all. Change-Id: I9501bc0206f0ce5cf064f1453fdf171c4c930aae --- minix/commands/update_asr/update_asr.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/minix/commands/update_asr/update_asr.sh b/minix/commands/update_asr/update_asr.sh index 503eda0a3..2b6af99bd 100644 --- a/minix/commands/update_asr/update_asr.sh +++ b/minix/commands/update_asr/update_asr.sh @@ -55,7 +55,10 @@ shift $(($OPTIND - 1)) if [ $# -eq 0 ]; then services=$(echo /proc/service/*) else - services="$@" + services= + for label in $@; do + services="$services /proc/service/$label" + done fi for service in $services; do -- 2.44.0