summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-12-05 13:11:49 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-05 16:59:08 +0200
commit209a79fc4d941560987a092f2c547a034de8db20 (patch)
treef32a11bd33f3e1cde256c1692c3c50a8be0bcc1a /bootstrap
parent927821dbf3cfaf7d0898b575a3936ac63a167e17 (diff)
Run the identity provider as a script
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 4c37c0f..878bc5c 100755
--- a/bootstrap
+++ b/bootstrap
@@ -7,7 +7,11 @@ sed -i 's|SHELL = /bin/sh|SHELL = @SHELL@|g' po/Makefile.in.in || exit 1
mkdir -p .native || exit 1
cd .native || exit 1
bash ../configure SHELL=$(which sh) || exit 1
+cp ../src/webid-oidc-issuer ../src/webid-oidc-issuer.bak || exit 1
+sed -i "s|/usr/local/bin/guile|$(which guile)|g" ../src/webid-oidc-issuer || exit 1
make -j V=1 || exit 1
make -j dist || exit 1
+chmod u+w ../src/webid-oidc-issuer || exit 1
+cp ../src/webid-oidc-issuer.bak ../src/webid-oidc-issuer || exit 1
cd .. || exit 1
rm -rf .native || exit 1