From 32b55d1587a27616a582f6a10b842fdc11a017d4 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Mon, 11 Oct 2010 09:54:16 +0200 Subject: install option (-I) does not require a directory containing a PKGBUILD Signed-off-by: Pierre Schmitz --- makechrootpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b