summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2024-12-11 15:35:32 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2024-12-12 06:07:24 +0100
commit22487a3d991b899e541c3abe6f718a57f3384be4 (patch)
treef6a7e1c966bf22c98c3d08d5c8ba38c6a25dce71
parent0d8f69cc681a1886068ab99d361d47678031b4b8 (diff)
g: macOS' ln doesn't know --symbolic, only -s
Change-Id: Idf0b276563a2552db7c6a9f2cca14b55acabb753 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178316 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit 13516716fa294eda2d50d2267823500feac4420a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178328 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rwxr-xr-xg2
1 files changed, 1 insertions, 1 deletions
diff --git a/g b/g
index cf9b8d59be19..6363ce5666eb 100755
--- a/g
+++ b/g
@@ -107,7 +107,7 @@ refresh_all_hooks()
# of the other modes described above will do plain copies.
# So in case of git-bash use hardlinks since those work just fine, everywhere else use symlinks
if [ $gitbash -ne 1 ]; then
- lnarg="--symbolic"
+ lnarg="-s"
fi
# There's no ".git" e.g. in a secondary worktree
if [ -d ".git" ]; then