Skip to content

Commit

Permalink
Protect -bash in gwd and gwsetup with quotes (allow spaces in filenam…
Browse files Browse the repository at this point in the history
…es) (#696)
  • Loading branch information
hgouraud committed Oct 18, 2018
1 parent de4efdb commit 9d893d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/gwd
@@ -1,4 +1,4 @@
#!/bin/sh
cd `dirname $0`
cd `dirname "$0"`
cd bases
exec ../gw/gwd -hd ../gw "$@"
2 changes: 1 addition & 1 deletion etc/gwsetup
@@ -1,4 +1,4 @@
#!/bin/sh
cd `dirname $0`
cd `dirname "$0"`
cd bases
exec ../gw/gwsetup -gd ../gw "$@"

0 comments on commit 9d893d4

Please sign in to comment.