aboutsummaryrefslogtreecommitdiff
path: root/bin/ootb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-04-12 08:15:20 -0300
committerEuAndreh <eu@euandre.org>2023-04-12 08:15:20 -0300
commitc6188975d2da6c1696c4433f6fce8ae4c9a6ac38 (patch)
tree613545634bc999385d13ecb107d2cce113ba11c4 /bin/ootb
parentbin/: Add trailing semicolor to Perl heredocs (diff)
downloaddotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.gz
dotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.xz
bin/: Make help string more consistent across several executables
Diffstat (limited to 'bin/ootb')
-rwxr-xr-xbin/ootb10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ootb b/bin/ootb
index 2b98454..959a210 100755
--- a/bin/ootb
+++ b/bin/ootb
@@ -39,11 +39,11 @@ help() {
'build-1/' directory with:
build-1/
- Makefile -> /absolute/path/to/Makefile
- README.md -> /absolute/path/to/README.md
+ Makefile -> ../Makefile
+ README.md -> ../README.md
src/
- file1.ext -> /absolute/path/to/file1.ext
- file2.ext -> /absolute/path/to/file2.ext
+ file1.ext -> ../../src/file1.ext
+ file2.ext -> ../../src/file2.ext
With that one can `cd build-1/` and run builds there, without
the build artifacts littering the source tree. Also, one could
@@ -99,5 +99,5 @@ mkdir -p "$BUILD_DIRECTORY"
while read -r f; do
mkdir -p "$BUILD_DIRECTORY"/"$(dirname "$f")"
- ln -fs "$PWD"/"$f" "$BUILD_DIRECTORY"/"$f"
+ ln -rfs "$PWD"/"$f" "$BUILD_DIRECTORY"/"$f"
done