Permalink
Browse files

Convert ! comments to # comments in mythconfig.mak

We include this in .pro files where # is a comment and ! is not...
  • Loading branch information...
1 parent 1477254 commit 097f670883ca87fc3301c866e231f61519ad448a @daniel-kristjansson daniel-kristjansson committed Dec 20, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 mythtv/configure
View
@@ -2957,6 +2957,7 @@ tmpfile TMPS .S
tmpfile TMPSH .sh
tmpfile TMPV .ver
tmpfile TMPMAK .mak
+tmpfile TMPPRO .pro
unset -f mktemp
@@ -6149,7 +6150,9 @@ if [ ! -e config.h ] ; then
${ln_s} $MYTH_CONFIG_H config.h
fi
-cp_if_changed $TMPMAK $MYTH_CONFIG_MAK
+cat $TMPMAK | sed -e 's/^!/#/' > $TMPPRO
+
+cp_if_changed $TMPPRO $MYTH_CONFIG_MAK
if ! test -L config.mak ; then
${ln_s} $MYTH_CONFIG_MAK config.mak

0 comments on commit 097f670

Please sign in to comment.