symlink, don't hardlink
authorJoey Hess <joeyh@joeyh.name>
Fri, 7 Mar 2025 21:15:54 +0000 (17:15 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 7 Mar 2025 21:15:54 +0000 (17:15 -0400)
hardlink can cause problems with unlocked files

doc/special_remotes/compute/git-annex-compute-wasmedge

index a734418125632d4b8669e6c3c7ca3e20e9dce067..b93adb937072efa776a26ba15883d06dc09dacb2 100755 (executable)
@@ -23,7 +23,7 @@ while [ -n "$1" ]; do
                        if [ -n "$input" ]; then
                                p="./$1"
                                mkdir -p "$(dirname "$p")"
-                               ln $(realpath "$input") "$p"
+                               ln -s $(realpath "$input") "$p"
                                if [ -z "$wasm" ]; then
                                        wasm="$p"
                                fi