summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abuild.in4
-rw-r--r--buildlab.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/abuild.in b/abuild.in
index c70ade5..0efe7d9 100644
--- a/abuild.in
+++ b/abuild.in
@@ -136,12 +136,12 @@ default_sanitycheck() {
fi
if [ -n "$replaces_priority" ] \
- && ! echo $replaces_priority | egrep -q '^[0-9]+$'; then
+ && ! echo $replaces_priority | grep -Eq '^[0-9]+$'; then
die "replaces_priority must be a number"
fi
if [ -n "$provider_priority" ] \
- && ! echo $provider_priority | egrep -q '^[0-9]+$'; then
+ && ! echo $provider_priority | grep -Eq '^[0-9]+$'; then
die "provider_priority must be a number"
fi
diff --git a/buildlab.in b/buildlab.in
index 1b56ffc..f75717b 100644
--- a/buildlab.in
+++ b/buildlab.in
@@ -55,7 +55,7 @@ runpart() {
}
is_vserver() {
- egrep -q '^VxID:[[:space:]]*[0-9]+' /proc/self/status
+ grep -Eq '^VxID:[[:space:]]*[0-9]+' /proc/self/status
}
do_chroot_open() {