Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Fix dirname command
Browse files Browse the repository at this point in the history
`dirname` command will return error if `pathname` has escape characters
  • Loading branch information
codeaholicguy committed Jan 9, 2017
1 parent c6cc9e9 commit 3a33511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/setup.sh
Expand Up @@ -2,7 +2,7 @@
set -e

# determine local paths
pushd $(dirname $0) >/dev/null
pushd $(dirname "$0") >/dev/null
DEV_DIR=$PWD
cd ..
SRC_DIR=$PWD
Expand Down

0 comments on commit 3a33511

Please sign in to comment.