aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fs_rm.sh2
-rwxr-xr-xtools/fs_write.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/fs_rm.sh b/tools/fs_rm.sh
index 89e9f95..77b5cee 100755
--- a/tools/fs_rm.sh
+++ b/tools/fs_rm.sh
@@ -14,7 +14,7 @@ main() {
}
_guard_path() {
- path="$(realpath "$1")"
+ path="$(realpath -m "$1")"
action="$2"
if [[ ! "$path" == "$(pwd)"* ]]; then
if [ -t 1 ]; then
diff --git a/tools/fs_write.sh b/tools/fs_write.sh
index 59ee812..b37a2d5 100755
--- a/tools/fs_write.sh
+++ b/tools/fs_write.sh
@@ -17,7 +17,7 @@ main() {
}
_guard_path() {
- path="$(realpath "$1")"
+ path="$(realpath -m "$1")"
action="$2"
if [[ ! "$path" == "$(pwd)"* ]]; then
if [ -t 1 ]; then