diff options
-rwxr-xr-x | .ci/test.sh | 4 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | unlink.sh (renamed from bin/unlink.sh) | 2 | ||||
-rwxr-xr-x | update.sh (renamed from bin/update.sh) | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/.ci/test.sh b/.ci/test.sh index e7bcd5a..fffc883 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -58,11 +58,11 @@ call_bin_script() { } call_update() { - call_bin_script "$script_dir/../bin/update.sh" + call_bin_script "$script_dir/../update.sh" } call_unlink() { - call_bin_script "$script_dir/../bin/unlink.sh" + call_bin_script "$script_dir/../unlink.sh" } verify_output() { @@ -21,7 +21,7 @@ This description is obviously confusing; see the complete usage example below. Usage ----- -Symlinks are managed by `bin/update.sh`. +Symlinks are managed by `update.sh`. ``` usage: update.sh [-h|--help] [-d|--database PATH] [-s|--shared-dir DIR] [-n|--dry-run] @@ -36,7 +36,7 @@ In this example, the symlinks to files in "../src" must appear in ``` > pwd -/cygdrive/d/workspace/personal/config-links/bin +/cygdrive/d/workspace/personal/config-links > tree /test/dest/ /test/dest/ diff --git a/bin/unlink.sh b/unlink.sh index 982e535..a44fa3f 100755 --- a/bin/unlink.sh +++ b/unlink.sh @@ -17,7 +17,7 @@ script_path="$( realpath --canonicalize-existing -- "${BASH_SOURCE[0]}" )" readonly script_path script_dir="$( dirname -- "$script_path" )" readonly script_dir -src_dir="$( cd -- "$script_dir/../src" && pwd )" +src_dir="$( cd -- "$script_dir/src" && pwd )" readonly src_dir . "$src_dir/common.sh" diff --git a/bin/update.sh b/update.sh index 1b98e9f..faea90d 100755 --- a/bin/update.sh +++ b/update.sh @@ -29,7 +29,7 @@ script_path="$( realpath --canonicalize-existing -- "${BASH_SOURCE[0]}" )" readonly script_path script_dir="$( dirname -- "$script_path" )" readonly script_dir -src_dir="$( cd -- "$script_dir/../src" && pwd )" +src_dir="$( cd -- "$script_dir/src" && pwd )" readonly src_dir . "$src_dir/common.sh" |