diff options
-rwxr-xr-x | scripts/build/bootstrap_archives | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/bootstrap_archives b/scripts/build/bootstrap_archives index e0dd1fdfc..6f878b97d 100755 --- a/scripts/build/bootstrap_archives +++ b/scripts/build/bootstrap_archives @@ -18,11 +18,8 @@ DESCRIPTION="$(Echo 'manage /etc/apt/sources.list')" HELP="" USAGE="${PROGRAM} [source|binary] [--force]" -_PASS="${1:-binary}" -if [ -n "${1}" ] -then - shift -fi +_PASS="${1}" +shift if [ "${_PASS}" != "binary" ] && [ "${_PASS}" != "source" ]; then Usage |