commit 8f8e61ca4608628c4688ec19921fc71d709abc0b
parent 6d58a48edab80d435c72d2a37bc0dbce85a637c9
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Mon, 27 Apr 2026 10:18:19 +0200
build: cleanup bootstrap
Diffstat:
1 file changed, 3 insertions(+), 16 deletions(-)
diff --git a/bootstrap b/bootstrap
@@ -16,12 +16,10 @@ fi
# submodules to avoid accidental rollbacks.
if [ -d .git ]; then
git config --local submodule.recurse true
-fi
-echo "$0: Updating submodules"
-# Caution: We do NOT want to fetch the latest version with --remote,
-# but instead always the one that's recorded in the repository.
-if [ -d .git ]; then
+ echo "$0: Updating submodules"
+ # Caution: We do NOT want to fetch the latest version with --remote,
+ # but instead always the one that's recorded in the repository.
echo | git submodule update --init --force
fi
./contrib/check-prebuilt
@@ -49,14 +47,3 @@ if existence uncrustify; then
else
echo "Uncrustify not detected, hook not installed. Please install uncrustify if you plan on doing development"
fi
-
-# Generate Makefile.am in contrib/
-#cd contrib
-#rm -f Makefile.am
-#find wallet-core/backoffice/ -type f | sort | awk '{print " " $1 " \\" }' > Makefile.am.ext
-## Remove extra '\' at the end of the file
-#truncate -s -2 Makefile.am.ext
-#cat Makefile.am.in Makefile.am.ext >> Makefile.am
-## Prevent accidental editing of the generated Makefile.am
-#chmod -w Makefile.am
-#cd ..