We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e42206 commit 8afd8b7Copy full SHA for 8afd8b7
1 file changed
relink_symlinks
@@ -36,7 +36,7 @@ while read symlink; do
36
# ln will try follow symlink if source exists as symlink, so let's move
37
# it out of the way first, then back afterwards
38
stat "$path" &> /dev/null && mv "$path" "$path.origlink"
39
- output="$(ln -svr \"$path\" \"$symlink\" 2>&1)"
+ output="$(ln -svr "$path" "$symlink" 2>&1)"
40
stat "$path.origlink" &> /dev/null && mv "$path.origlink" "$path"
41
if ! stat "$symlink" &> /dev/null; then
42
printf '%s\n' "symlink relativization failed:" >&2
0 commit comments