summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_archives
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-xscripts/build/chroot_archives3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index 8daa1c19b..8d47a1417 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -20,8 +20,7 @@ USAGE="${PROGRAM} {source|binary|chroot} {install|remove} [--force]"
_PASS="${1}"
shift
-if [ "${_PASS}" != "binary" ] && [ "${_PASS}" != "chroot" ] && [ "${_PASS}" != "source" ]
-then
+if ! In_List "${_PASS}" "binary" "chroot" "source"; then
Usage
fi