1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 06:39:03 +01:00

scripts/gojekyll works invoked from any directory

This commit is contained in:
Oliver Steele 2017-08-27 13:40:28 -04:00
parent ad5c5ffddf
commit 2d2df35630

View File

@ -1,3 +1,4 @@
#!/bin/bash
go run main.go $@
DIR=$(dirname "${BASH_SOURCE[0]}")/..
go run $DIR/main.go $@