diff --git a/Run.sh b/Run.sh index 527c1d2..1666224 100755 --- a/Run.sh +++ b/Run.sh @@ -36,7 +36,7 @@ function del_ServerActors() { del_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1 } function getmodprefix() { - UFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB[[:digit:]]*\.u" ) + UFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB[[:digit:]]*\.u" -exec basename {} \;) BaseName="${UFile%.*}" echo "$BaseName" }