Amend script so that it works on macOS

This commit is contained in:
bofdahof
2025-04-25 17:41:52 +10:00
committed by Chris Hennes
parent 07b5a1c9e3
commit d3c0c9d115

View File

@@ -1,10 +1,7 @@
#!/bin/bash
# Change to the directory of this script (any subdirectory in the repository should work)
cd "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
# If the line above does not work then try uncommenting the line below and insert the absolute path to your FreeCAD repository
# cd "absolute/path/to/FreeCAD"
cd "$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" &> /dev/null && pwd -P)"
# Activate pixi default environment
eval "$(pixi shell-hook)"