Use "$*", not "$@", where we want a space-separated list of words.

This commit is contained in:
apb 2006-01-04 13:40:23 +00:00
parent 0eb2a59a6d
commit 267577ae49

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: makeflist,v 1.73 2006/01/03 18:31:09 apb Exp $
# $NetBSD: makeflist,v 1.74 2006/01/04 13:40:23 apb Exp $
#
# Print out the files in some or all lists.
# Usage: makeflist [-bxlo] [-a arch] [-m machine] [-s setsdir] [setname ...]
@ -58,7 +58,7 @@ while getopts bxloa:m:s: ch; do
done
shift $((${OPTIND} - 1))
if [ -n "$1" ]; then
lists="$@"
lists="$*"
fi
if [ -n "${listonly}" ]; then