mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
The usage of shell: true means that no escaping is done on the arguments
passed to the commands invoked by the installer. This leads to the
installation failing if the user for example puts a space in the
username for the admin account.
Fix by escaping the arguments passed on command lines. This is
unreasonably complicated on Windows 😡.
4 lines
92 B
Bash
Executable File
4 lines
92 B
Bash
Executable File
#!/bin/sh
|
|
# this is how package.json bin entries forwards arguments on Linux
|
|
exec node "$@"
|