Add -s flag to getter to call stow afterwords

This commit is contained in:
Adam Goldsmith 2015-09-06 10:30:05 -04:00
parent e150d29cdc
commit e9ad30af93

View File

@ -1,5 +1,12 @@
#!/bin/bash
stow=0
if [ "$1" = "-s" ]
then
stow=1
shift
fi
targets="$@"
for t in $targets
do
@ -15,3 +22,8 @@ do
cd ..
fi
done
if [ "$stow" -eq 1 ]
then
./stower.sh "$@"
fi