Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
fix: windows script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 22, 2018
1 parent 102d512 commit b58916f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/pack/win.ts
Expand Up @@ -43,7 +43,7 @@ if exist "%LOCALAPPDATA%\\${config.dirname}\\client\\bin\\${config.bin}.cmd" (
)
`,
sh: (config: Config.IConfig) => `#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
basedir=$(dirname "$(echo "$0" | sed -e 's,\\\\,/,g')")
"$basedir/../client/bin/${config.bin}.cmd" "$@"
ret=$?
Expand Down

0 comments on commit b58916f

Please sign in to comment.