]> git.llucax.com Git - software/mutt-debian.git/blob - debian/scripts/vars.build
Import mutt_1.5.9-2
[software/mutt-debian.git] / debian / scripts / vars.build
1 #!/usr/bin/make -f
2
3 sed_cmd=''
4 cat $1 | while read REPLY; do
5         case "$REPLY" in
6                 \#*|"") continue;;
7                 *)
8                         var=$(echo $REPLY|sed 's/\([^=]*\)=.*/\1/')
9                         eval $REPLY
10                         if [ $2 = "make" ]; then
11                                 eval echo "$var=\$$var"
12                         else
13                                 eval echo "$var=\\\"\$$var\\\""
14                         fi
15                         ;;
16         esac
17 done