summary refs log tree commit diff stats
path: root/adopt
diff options
context:
space:
mode:
Diffstat (limited to 'adopt')
-rwxr-xr-xadopt4
1 files changed, 2 insertions, 2 deletions
diff --git a/adopt b/adopt
index 94509c3d..a0a210fa 100755
--- a/adopt
+++ b/adopt
@@ -15,7 +15,7 @@ then
     mkdir -p $TARGET
   fi
   mv $2/* $TARGET
-  ln -s $TARGET/* "$2"
+  ./stow $1
 elif [ -f $2 ]
 then
   TARGET="$DOTFILES_DIR/$1/$(dirname $2)"
@@ -24,5 +24,5 @@ then
     mkdir -p $TARGET
   fi
   mv $2 $TARGET
-  ln -s $TARGET/$(basename $2)
+  ./stow $1
 fi