summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xadopt4
1 files changed, 2 insertions, 2 deletions
diff --git a/adopt b/adopt
index 94509c3..a0a210f 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