summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstowdots4
1 files changed, 2 insertions, 2 deletions
diff --git a/stowdots b/stowdots
index ad61a27..bd8abaa 100755
--- a/stowdots
+++ b/stowdots
@@ -18,8 +18,8 @@ else
read MACH
fi
-ln -sf "$(realpath $0)" $HOME/bin/
-cd "$(realpath $0 | xargs dirname)" || exit 1
+ln -sf "$(realpath "$0")" $HOME/bin/
+cd "$(dirname "$(realpath "$0")")" || exit 1
case "$MACH" in
"desktop" | "d" | "laptop" | "l")
mkdir -p "$HOME/bin"