index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | makechrootpkg | 2 |
diff --git a/makechrootpkg b/makechrootpkg index 572a215..65db5c5 100755 --- a/makechrootpkg +++ b/makechrootpkg @@ -87,7 +87,7 @@ if [ "$EUID" != '0' ]; then exit 1 fi -if [ ! -f PKGBUILD ]; then +if [ ! -f PKGBUILD -a -z "$install_pkg" ]; then echo 'This must be run in a directory containing a PKGBUILD.' exit 1 fi |