summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-14 11:07:36 +0100
committertv <tv@nomic.retiolum>2013-11-14 11:07:36 +0100
commitbabcdd4b4d203c98e3e2c7a5e70b9f1273b60f7c (patch)
treef27ab941f3b4a1a7dda15e5c02af2a98dd1cd98f /ship
parentad6a4e849d071cff0a230e5510be5b6e5702451f (diff)
ship build: make sourceable
Diffstat (limited to 'ship')
-rwxr-xr-xship/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/ship/build b/ship/build
index 95c14699..5863e325 100755
--- a/ship/build
+++ b/ship/build
@@ -181,4 +181,6 @@ buildcache_add() {
### main invocation
###
-build "$@"
+if echo "$0" | grep -q '^\(.*/\)\?build$'; then
+ build "$@"
+fi