summaryrefslogtreecommitdiffstats
path: root/gen_links.sh.inc
blob: 2fcb9d1cb18304625276903f3290cf37839a6a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!dont_run_this
# This file is sourced by */gen_links.sh

gen_links() {
	DIR=$1
	shift
	FILES=$*
	for f in $FILES; do
		echo "Linking $f"
		ln -sf $DIR/$f $f
	done
}