emerald-post-gcc-build: Fix for BusyBox grep
Signed-off-by: PeroSar <perosar1111@gmail.com>
This commit is contained in:
parent
3ed698bc14
commit
9fee6a0d25
|
@ -3,7 +3,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
EMERALD_SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
||||
GCC_VER=$(grep -P -m1 '^GCC_VER=' emerald-gcc.sh | cut -d= -f2)
|
||||
GCC_VER=$(grep -m1 '^GCC_VER=' "$EMERALD_SCRIPT_DIR"/emerald-gcc.sh | cut -d= -f2)
|
||||
source "$EMERALD_SCRIPT_DIR"/common.sh
|
||||
AR=$PREFIX/$TARGET/bin/ar
|
||||
|
||||
|
|
Loading…
Reference in New Issue