summary refs log tree commit diff stats
path: root/adopt
diff options
context:
space:
mode:
Diffstat (limited to 'adopt')
-rwxr-xr-xadopt5
1 files changed, 3 insertions, 2 deletions
diff --git a/adopt b/adopt
index a0a210fa..6789a6b9 100755
--- a/adopt
+++ b/adopt
@@ -1,5 +1,6 @@
 #!/bin/sh
 DOTFILES_DIR=$(dirname $(readlink -f $0))
+STOW="$DOTFILES_DIR/stow"
 
 if [ "$#" -lt 2 ]
 then
@@ -15,7 +16,7 @@ then
     mkdir -p $TARGET
   fi
   mv $2/* $TARGET
-  ./stow $1
+  $STOW $1
 elif [ -f $2 ]
 then
   TARGET="$DOTFILES_DIR/$1/$(dirname $2)"
@@ -24,5 +25,5 @@ then
     mkdir -p $TARGET
   fi
   mv $2 $TARGET
-  ./stow $1
+  $STOW $1
 fi