cbindgen if

This commit is contained in:
Dominika Liberda 2021-10-11 15:17:54 +02:00
parent 83a6751e80
commit 10612c8cc3
2 changed files with 5 additions and 3 deletions

View file

@ -63,8 +63,10 @@ cd $srcdir;
rm -f mozconfig rm -f mozconfig
# install cbindgen # install cbindgen, but the install crashes on musl
cargo install --version 0.20.0 cbindgen if [[ "$(/lib/libc.so)" != *"musl libc"* ]]; then
cargo install --version 0.20.0 cbindgen
fi
if [[ $CARCH == 'aarch64' ]]; then if [[ $CARCH == 'aarch64' ]]; then

View file

@ -24,7 +24,7 @@ printf "\nCopying librewolf settings to extracted binary tarball\n";
git clone $_SETTINGS_REPO $_EXTRACTED_TARBALL_FOLDER/settings; git clone $_SETTINGS_REPO $_EXTRACTED_TARBALL_FOLDER/settings;
cd $_EXTRACTED_TARBALL_FOLDER/settings cd $_EXTRACTED_TARBALL_FOLDER/settings
git checkout $_SETTINGS_TAG #git checkout $_SETTINGS_TAG
cd - cd -
# no need to keep that in there: # no need to keep that in there:
rm -rf "${_EXTRACTED_TARBALL_FOLDER}/settings/.git"; rm -rf "${_EXTRACTED_TARBALL_FOLDER}/settings/.git";