diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-06-06 01:30:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-06-06 01:30:47 -0500 |
commit | 3ff11a344021db7aabdfa310800dbe878d3663c8 (patch) | |
tree | 1c2ea4218b26d34004442362eb1502521fb84b3e /abuild.in | |
parent | aad8784833043b4d476da84784a74d39c33e7011 (diff) | |
download | abuild-3ff11a344021db7aabdfa310800dbe878d3663c8.tar.gz abuild-3ff11a344021db7aabdfa310800dbe878d3663c8.tar.bz2 abuild-3ff11a344021db7aabdfa310800dbe878d3663c8.tar.xz abuild-3ff11a344021db7aabdfa310800dbe878d3663c8.zip |
Utilities: Use grep -E instead of egrep
egrep has been deprecated for a long time. This only appeared in
packages with provider_priority or replaces_priority, which presently
only affects user/netqmail and user/postfix. It's still good to fix.
Closes: #12
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |