diff options
Diffstat (limited to 'bin/ootb')
-rwxr-xr-x | bin/ootb | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |