diff options
-rwxr-xr-x | libremakepkg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libremakepkg b/libremakepkg index 8cce89d..af0b7a9 100755 --- a/libremakepkg +++ b/libremakepkg @@ -26,10 +26,10 @@ if [ $UID -ne 0 ]; then fi msg "Checking PKGBUILD for non-free issues" -pkgbuild-check-nonfree ||{ - if [[$?=15]]; then - error "PKGBUILD contains non-free issues" - exit 15 +pkgbuild-check-nonfree || { + if [[ $? = 15 ]]; then + error "PKGBUILD contains non-free issues" + exit 15 else error "Check failed, continuing" fi |