FIX logic error
This commit is contained in:
parent
4b4975df8a
commit
d9c937cdf4
|
@ -97,7 +97,7 @@ clean_up() {
|
||||||
|
|
||||||
trap 'clean_up' ERR
|
trap 'clean_up' ERR
|
||||||
|
|
||||||
if [ "$#" -ne 1 ]; then
|
if [ "$#" -ge 1 ] && [ "$#" -le 2 ]; then
|
||||||
echo "Usage: bootstrap_pkgs CUSTOM_PKGBUILD_SRC [INSTALL_ROOT]"
|
echo "Usage: bootstrap_pkgs CUSTOM_PKGBUILD_SRC [INSTALL_ROOT]"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue