emerald-gcc/emerald-get-relver.sh

8 lines
252 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
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