浏览代码

Fixing my blindness

UltimateByte 7 年之前
父节点
当前提交
8b1188d8ae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lgsm/functions/command_update_linuxgsm.sh

+ 1 - 1
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"