Improve compatibility with old .env files

pull/1/head
Stefano Ortolani 2023-09-12 10:24:18 +01:00
parent 814d12a761
commit 61b93ab0e3
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ EOF
RUN <<-EOF
git clone --depth 1 https://github.com/stricaud/faup.git /srv/faup
cd /srv/faup
git checkout ${LIBFAUP_COMMIT}
if [ ! -z ${LIBFAUP_COMMIT} ]; then
git checkout ${LIBFAUP_COMMIT}
fi
cd /srv/faup/build
cmake -G "Ninja" ../
ninja