diff options
author | makefu <github@syntax-fehler.de> | 2013-11-19 08:35:51 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-11-19 08:35:51 +0100 |
commit | 5788b95fe7834d3049df9de1009f3d8dbc34fea2 (patch) | |
tree | 76675a9579c7c5e269825bfa73d29fe5256b8afb /ship/build | |
parent | c15a8d15e910a39a641b21df08e13325a0e29293 (diff) | |
parent | 6f956cfe65ee00871bc9be19b2acadabb6638a69 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'ship/build')
-rwxr-xr-x | ship/build | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -44,8 +44,8 @@ EOF build_info() { cat<<EOF $1a\\ # this file was generated by //ship/build\\ -# date: $(date -u --rfc-3339=s)\\ -# version: $(git rev-parse HEAD) +# build date: $(date -u --rfc-3339=s)\\ +# git describe: $(git describe --always --dirty --abbrev=0) EOF } @@ -181,4 +181,6 @@ buildcache_add() { ### main invocation ### -build "$@" +if echo "$0" | grep -q '^\(.*/\)\?build$'; then + build "$@" +fi |