emerald-get-relver: Fix for BusyBox grep

Signed-off-by: PeroSar <perosar1111@gmail.com>
This commit is contained in:
PeroSar 2022-06-04 11:10:26 +05:30
parent d88e689c3a
commit 4866826814
Signed by: PeroSar
GPG Key ID: 5C2D258445DA8B58
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
GCC_VER=$(grep -P -m1 '^GCC_VER=' emerald-gcc.sh | cut -d= -f2)
BINUTILS_VER=$(grep -P -m1 '^BINUTILS_VER=' emerald-binutils.sh | cut -d= -f2)
GCC_VER=$(grep -m1 '^GCC_VER=' emerald-gcc.sh | cut -d= -f2)
BINUTILS_VER=$(grep -m1 '^BINUTILS_VER=' emerald-binutils.sh | cut -d= -f2)
echo "emerald: GCC v$GCC_VER, Binutils v$BINUTILS_VER" > title.txt
echo "$GCC_VER" > tag.txt