diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-05 19:28:39 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-05 19:28:39 -0400 |
commit | 04765b26650343d928a5b1d7600748a4b7d78f38 (patch) | |
tree | bb66f65baf2992f3c27ab6b390210ea755a0d246 /rootfs/Makefile | |
parent | ef561d2ac23088a77eea0881f91ab063025c8f2d (diff) |
fail better if "fsmgr" is not available
Diffstat (limited to 'rootfs/Makefile')
-rw-r--r-- | rootfs/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rootfs/Makefile b/rootfs/Makefile index 9bb30a0..1dbbc9c 100644 --- a/rootfs/Makefile +++ b/rootfs/Makefile | |||
@@ -1,4 +1,9 @@ | |||
1 | fsmgr := $(shell which fsmgr) | 1 | fsmgr := $(shell which fsmgr) |
2 | |||
3 | ifeq ($(fsmgr),) | ||
4 | $(error "no fsmgr") | ||
5 | endif | ||
6 | |||
2 | sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) | 7 | sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) |
3 | 8 | ||
4 | rootfs = samizdat | 9 | rootfs = samizdat |