Amend script so that it works on macOS
This commit is contained in:
@@ -1,10 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Change to the directory of this script (any subdirectory in the repository should work)
|
# Change to the directory of this script (any subdirectory in the repository should work)
|
||||||
cd "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
|
cd "$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" &> /dev/null && pwd -P)"
|
||||||
|
|
||||||
# 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"
|
|
||||||
|
|
||||||
# Activate pixi default environment
|
# Activate pixi default environment
|
||||||
eval "$(pixi shell-hook)"
|
eval "$(pixi shell-hook)"
|
||||||
|
|||||||
Reference in New Issue
Block a user