aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-06-29 09:02:35 -0300
committerEuAndreh <eu@euandre.org>2023-06-29 09:02:35 -0300
commitc4e83a259da2268d1d6ccf56e4b6ff3794f4dc0e (patch)
tree5b259455b0436132ed4d7318aee3ee00920f54de
parentbin/ootb: Use hardlinks over symlinks (diff)
downloaddotfiles-c4e83a259da2268d1d6ccf56e4b6ff3794f4dc0e.tar.gz
dotfiles-c4e83a259da2268d1d6ccf56e4b6ff3794f4dc0e.tar.xz
Revert "bin/ootb: Use hardlinks over symlinks"
This reverts commit edbf0c2ce376ce6672fbc94d861fe26081c46418. After adding the "build/" directory to the top-level .gitignore file, it stopped complaining about the symlinks.
-rwxr-xr-xbin/ootb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ootb b/bin/ootb
index ad431d7..959a210 100755
--- a/bin/ootb
+++ b/bin/ootb
@@ -99,5 +99,5 @@ mkdir -p "$BUILD_DIRECTORY"
while read -r f; do
mkdir -p "$BUILD_DIRECTORY"/"$(dirname "$f")"
- ln -f "$PWD"/"$f" "$BUILD_DIRECTORY"/"$f"
+ ln -rfs "$PWD"/"$f" "$BUILD_DIRECTORY"/"$f"
done