From bb0ae9ae534068f514133a237f51791370ee7992 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Sat, 21 Jul 2018 13:15:31 +0200 Subject: [PATCH] Now trying to fix the actual sed --- lgsm/functions/command_update_linuxgsm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_update_linuxgsm.sh b/lgsm/functions/command_update_linuxgsm.sh index cfdb9b002..de4b7e55e 100644 --- a/lgsm/functions/command_update_linuxgsm.sh +++ b/lgsm/functions/command_update_linuxgsm.sh @@ -43,7 +43,7 @@ if [ -z "${legacymode}" ]; then fn_print_ok_eol_nl fi echo -ne " checking ${selfname}...\c" - script_diff=$(diff <(sed '/shortname/d;/gameservername/d;/gamename/d;/githubuser/d;/githubrepo/d;/githubbranch/d' "${tmpdir}/linuxgsm.sh") <(sed '/shortname/d;/gameservername/d;/gamename/d;/githubuser/d;/githubrepo/d;/githubbranch/d' "${rootdir}/${selfname}")) + script_diff=$(diff <(sed '\/shortname/d;\/gameservername/d;/\gamename/d;\/githubuser/d;\/githubrepo/d;\/githubbranch/d' "${tmpdir}/linuxgsm.sh") <(sed '\/shortname/d;\/gameservername/d;\/gamename/d;\/githubuser/d;\/githubrepo/d;\/githubbranch/d' "${rootdir}/${selfname}")) if [ "${script_diff}" != "" ]; then fn_print_update_eol_nl echo -ne " backup ${selfname}...\c"