0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-15 09:18:20 +00:00

busybox: createlog: no githash stored in /etc/issue

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard
2023-03-16 15:51:32 +00:00
parent 462b767ce4
commit 787b30b24b

@ -10,7 +10,6 @@ DATE=$(date -u +%Y-%m-%d-%H.%M.%S)
BASEDIR=$(mktemp -d)
LOGDIR="log-$DATE"
RELEASE=$(cat /etc/release)
GIT=$(grep git < /etc/issue)
getlog_cmd() {
if command -v $1 >/dev/null; then
@ -18,7 +17,6 @@ getlog_cmd() {
echo "################################################################################"
echo "# ... output of $@"
echo "# LibreELEC release: $RELEASE"
echo "# $GIT"
echo "################################################################################"
} >> $BASEDIR/$LOGDIR/$LOGFILE
$@ >> $BASEDIR/$LOGDIR/$LOGFILE 2>/dev/null