aboutsummaryrefslogtreecommitdiffstats
path: root/macroszification
diff options
context:
space:
mode:
Diffstat (limited to 'macroszification')
-rw-r--r--macroszification10
1 files changed, 5 insertions, 5 deletions
diff --git a/macroszification b/macroszification
index b6ef99c..e8c490b 100644
--- a/macroszification
+++ b/macroszification
@@ -52,21 +52,21 @@ if [[ ! -f $file ]];then
usage $val;
fi
-[[ -z $nocheck ]] && egrep -q "%{?prefix}?" $file && {
- egrep -q "^Prefix:[[:space:]]+" $file || {
+[[ -z $nocheck ]] && grep -E -q "%{?prefix}?" $file && {
+ grep -E -q "^Prefix:[[:space:]]+" $file || {
echo "sound like you don't have a Prefix set"
exit;
}
}
-[[ -z $nocheck ]] && egrep -q "^%configure" $file && {
- egrep -q "^%makeinstall" $file || {
+[[ -z $nocheck ]] && grep -E -q "^%configure" $file && {
+ grep -E -q "^%makeinstall" $file || {
echo "sound like you don't have a %makeinstall"
exit;
}
}
-[[ -z $nocheck ]] && egrep -q "^Docdir:[[:space:]]+" $file && {
+[[ -z $nocheck ]] && grep -E -q "^Docdir:[[:space:]]+" $file && {
echo "You have a Docdir entry, it's not good !!"
exit;
}