summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/hstow2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hstow b/bin/hstow
index 8fbec796..b2615786 100755
--- a/bin/hstow
+++ b/bin/hstow
@@ -131,7 +131,7 @@ stow () {
unstow () {
cd "$HOME"
- dir_pat="^.$(echo $DIR | cut -c$(echo $HOME | wc -m | tr -d ' ')-)/"
+ dir_pat="^\.$(echo $DIR | cut -c$(echo $HOME|wc -m|tr -d ' ')-)/"
for file in $(find . -type l ! -name . ! -name "$cchars" \
| grep -v "$dir_pat"); do
if readlink "$file" | grep -Eq '^(\.\./)*\.STOW/'"$NAME/"; then