Skip to content

Commit

Permalink
Linux: switch to printf in launch wrapper
Browse files Browse the repository at this point in the history
Not all echo implementations or defaults will expand escape sequences
  • Loading branch information
morganwillcock committed May 20, 2020
1 parent ec9f82f commit b6fa661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Editor/AGS.Editor/BuildTargets/BuildTargetLinux.cs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public override bool Build(CompileMessages errors, bool forceRebuild)
for arg; do
if [ ""$arg"" = ""--help"" ]; then
echo ""Usage: $(basename ""$scriptpath"") [<ags options>]\n""
printf ""Usage: %s [<ags options>]\n\n"" ""$(basename ""$scriptpath"")""
break
fi
done
Expand Down
2 changes: 1 addition & 1 deletion debian/ags+libraries/startgame
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ scriptdir=$(dirname "$scriptpath")

for arg; do
if [ "$arg" = "--help" ]; then
echo "Usage: $(basename "$scriptpath") [<ags options>]\n"
printf "Usage: %s [<ags options>]\n\n" "$(basename "$scriptpath")"
break
fi
done
Expand Down

0 comments on commit b6fa661

Please sign in to comment.