diff --git a/Run.sh b/Run.sh index 485e337..d33d43b 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*.u" -exec basename {} \;) + UFile=$(find -type f -iname "SmartSB[[:digit:]]*.u" -exec basename {} \;) BaseName="${UFile%.*}" echo "$BaseName" }