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:
@ -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
|
||||
|
Reference in New Issue
Block a user