diff options
Diffstat (limited to 'macroszification')
-rw-r--r-- | macroszification | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macroszification b/macroszification index ec244bc..433df7b 100644 --- a/macroszification +++ b/macroszification @@ -53,9 +53,11 @@ if [[ ! -f $file ]];then usage $val; fi -[[ -z $nocheck ]] && egrep -q "^Prefix:[[:space:]]+" $file || { +[[ -z $nocheck ]] && egrep -q "%{?prefix}?" $file && { + egrep -q "^Prefix:[[:space:]]+" $file || { echo "sound like you don't have a Prefix set" exit; + } } [[ -z $nocheck ]] && egrep -q "^%configure" $file && { |