Explorar el Código

thanks autocomplete

Daniel Gibbs hace 9 años
padre
commit
9ccb9f68b2
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      lgsm/functions/command_update_functions.sh

+ 3 - 3
lgsm/functions/command_update_functions.sh

@@ -51,9 +51,9 @@ if [ "${script_diff}" != "" ]; then
 	copygamename="$(grep -m 1 gamename= "${rootdir}/${selfname}")"
 
 	cp "${tmpdir}/linuxgsm.sh" "${rootdir}/${selfname}"
-	sed -i "'"s/shortname="core"/${copyshortname}/g"'" "${rootdir}/${selfname}"
-	sed -i "'"s/shortname="core"/${copyservername}/g"'" "${rootdir}/${selfname}"
-	sed -i "'"s/shortname="core"/${copygamename}/g"'" "${rootdir}/${selfname}"
+	sed -i "s/shortname="core"/${copyshortname}/g" "${rootdir}/${selfname}"
+	sed -i "s/shortname="core"/${copyservername}/g" "${rootdir}/${selfname}"
+	sed -i "s/shortname="core"/${copygamename}/g" "${rootdir}/${selfname}"
 else
 	fn_print_ok_eol_nl
 fi