diff options
-rwxr-xr-x | spec-helper | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec-helper b/spec-helper index 0a21d62..0bf58f2 100755 --- a/spec-helper +++ b/spec-helper @@ -13,6 +13,10 @@ if [ -z "$RPM_BUILD_ROOT" ]; then exit 0 fi +if [ ! -d $RPM_BUILD_ROOT ]; then + exit 0 +fi + SPEC_HELPER_ROOT=${SPEC_HELPER_ROOT=/usr/share/spec-helper} PATH=$SPEC_HELPER_ROOT:$PATH export PATH |