summaryrefslogtreecommitdiff
path: root/stows
blob: e19639b132e55ea70e847e423c3b433e2547c53e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

flags=""

# Allow for flags into the setup things
while test $# != 0
do
    case "$1" in
		-D) 
			# Collect flag
			flags="$flags -D" ;;
		*) 
			# Run pre
			sh "./$1/#pre_stow.sh#" $flags
			# Run stow 
			stow $flags $1
			# Run post
			sh "./$1/#post_stow.sh#" $flags ;;
    esac
    shift
done