mirror of
https://github.com/token2/fido2-manage.git
synced 2026-04-09 02:35:39 +00:00
Fix MacOS build script
It must return to the root directory before continuing.
This commit is contained in:
@@ -85,12 +85,12 @@ chmod +x ./bundle_libs.sh
|
|||||||
|
|
||||||
# 4.1 Fix library version compatibility issues
|
# 4.1 Fix library version compatibility issues
|
||||||
info "Fixing library version compatibility..."
|
info "Fixing library version compatibility..."
|
||||||
cd "$STAGING_DIR"
|
pushd "$STAGING_DIR"
|
||||||
# Create symlink for libcbor version compatibility
|
# Create symlink for libcbor version compatibility
|
||||||
if [ -f "libcbor.0.12.dylib" ] && [ ! -f "libcbor.0.11.dylib" ]; then
|
if [ -f "libcbor.0.12.dylib" ] && [ ! -f "libcbor.0.11.dylib" ]; then
|
||||||
ln -sf libcbor.0.12.dylib libcbor.0.11.dylib
|
ln -sf libcbor.0.12.dylib libcbor.0.11.dylib
|
||||||
fi
|
fi
|
||||||
cd ..
|
popd
|
||||||
|
|
||||||
# 4.2 Fix library linking (this must be done on macOS)
|
# 4.2 Fix library linking (this must be done on macOS)
|
||||||
info "Fixing library linking..."
|
info "Fixing library linking..."
|
||||||
|
|||||||
Reference in New Issue
Block a user