Skip to content

Commit 4659f98

Browse files
committed
codacy
codacy
1 parent a09bc9e commit 4659f98

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lgsm/functions/mods_core.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -575,10 +575,10 @@ fn_mod_install_liblist_gam_file(){
575575
exitcode=$?
576576
# if replacement back didn't happen, error out.
577577
if [ "${exitcode}" != 0 ]; then
578-
fn_script_log_fatal ${logentry}
578+
fn_script_log_fatal "${logentry}"
579579
fn_print_fail_eol_nl
580580
else
581-
fn_script_log_pass ${logentry}
581+
fn_script_log_pass "${logentry}"
582582
fn_print_ok_eol_nl
583583
fi
584584

@@ -591,10 +591,10 @@ fn_mod_install_liblist_gam_file(){
591591
exitcode=$?
592592
# if replacement back didn't happen, error out
593593
if [ "${exitcode}" != 0 ]; then
594-
fn_script_log_fatal ${logentry}
594+
fn_script_log_fatal "${logentry}"
595595
fn_print_fail_eol_nl
596596
else
597-
fn_script_log_pass ${logentry}
597+
fn_script_log_pass "${logentry}"
598598
fn_print_ok_eol_nl
599599
fi
600600

@@ -604,7 +604,7 @@ fn_mod_install_liblist_gam_file(){
604604
logentry="sed replace (dlls\\${moddylib}) ${modinstalldir}/liblist.gam"
605605
echo -en "modifying gamedll_osx in liblist.gam..."
606606
rpldylib="s/dlls\/${moddylib}/addons\/metamod\/dlls\/metamod.dylib/g"
607-
sed -i $rpldylib ${modinstalldir}/liblist.gam
607+
sed -i $rpldylib "${modinstalldir}/liblist.gam"
608608
grep -q "addons/metamod/dlls/metamod.dylib" "${modinstalldir}/liblist.gam"
609609
exitcode=$?
610610
# if replacement back didn't happen, error out.

0 commit comments

Comments
 (0)