aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-08 19:32:39 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-08 19:32:39 +0100
commitbb7af595156b12b7081d5374f21a154369d213ec (patch)
tree99292a16fa1588a5fc8ff01f8065d05aed18cafd
parent1b3570804184f62ff96ff6f2f6fc43b4c999678d (diff)
fix makefile + state/gen
-rw-r--r--state.mk2
-rwxr-xr-xstate/gen1
2 files changed, 1 insertions, 2 deletions
diff --git a/state.mk b/state.mk
index 394b78e..a91a19c 100644
--- a/state.mk
+++ b/state.mk
@@ -2,7 +2,7 @@ state/container_img: Containerfile
$(CTR) build --tag $(CTR_IMG_TAG) .
touch $@
-state/submodules:
+state/submodules: .gitmodules
git submodule update --init
touch $@
diff --git a/state/gen b/state/gen
index 720c1d3..fefa752 100755
--- a/state/gen
+++ b/state/gen
@@ -28,7 +28,6 @@ MODULES="$(git config \
sed -e 's/^submodule\./modules\//' -e 's/\.path$/\/HEAD/')"
for git_module in $MODULES ; do
git rev-parse "$git_module" 1> /dev/null 2> /dev/null && continue
- echo "$git_module is the culprit" >&2
SUBMODULES_OK=1
done
set_state submodules $SUBMODULES_OK