diff --git a/dist-build/android-build.sh b/dist-build/android-build.sh index e8d65b23..2937370f 100755 --- a/dist-build/android-build.sh +++ b/dist-build/android-build.sh @@ -62,7 +62,7 @@ fi --with-sysroot="${TOOLCHAIN_DIR}/sysroot" || exit 1 if [ "$NDK_PLATFORM" != "$NDK_PLATFORM_COMPAT" ]; then - egrep '^#define ' config.log | sort -u >config-def-compat.log + grep -E '^#define ' config.log | sort -u >config-def-compat.log echo echo "Configuring again for platform [${NDK_PLATFORM}]" echo diff --git a/test/constcheck.sh b/test/constcheck.sh index 994c1642..46010ae9 100755 --- a/test/constcheck.sh +++ b/test/constcheck.sh @@ -5,7 +5,7 @@ CT='ct.c' echo '#include ' > "$CT" echo '#include ' >> "$CT" echo 'int main(void) {' >> "$CT" -for macro in $(egrep -r '#define crypto_.*BYTES(_[A-Z]+)? ' src/libsodium/include | \ +for macro in $(grep -Er '#define crypto_.*BYTES(_[A-Z]+)? ' src/libsodium/include | \ cut -d: -f2- | cut -d' ' -f2 | \ fgrep -v edwards25519sha512batch | sort -u); do func=$(echo "$macro" | tr A-Z a-z)