Make compile.sh set working dir to own dir (bug 5710, r=psychonic).
authorKyle Sanderson <kyle.leet@gmail.com>
Thu Jul 18 19:40:42 2013 -0400 (2013-07-18)
changeset 3953ea7a34452243
parent 3952 4c9e2b1cf78d
child 3954 f98bbd1892df
Make compile.sh set working dir to own dir (bug 5710, r=psychonic).
plugins/compile.sh
     1.1 --- a/plugins/compile.sh	Thu Jul 18 17:59:24 2013 -0400
     1.2 +++ b/plugins/compile.sh	Thu Jul 18 19:40:42 2013 -0400
     1.3 @@ -1,4 +1,5 @@
     1.4  #!/bin/bash
     1.5 +cd "$(dirname "$0")"
     1.6  
     1.7  test -e compiled || mkdir compiled
     1.8