~ubuntu-branches/ubuntu/dapper/autofs/dapper

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

sed_cmd=''
cat $1 | while read REPLY; do
	case "$REPLY" in
		\#*|"")	continue;;
		*)
			var=$(echo $REPLY|sed 's/\([^=]*\)=.*/\1/')
			eval $REPLY
			if [ $2 = "make" ]; then
				eval echo "$var=\$$var"
			else
				eval echo "$var=\\\"\$$var\\\""
			fi
			;;
	esac
done