diff options
author | Ian Jackson <ian@liberator.relativity.greenend.org.uk> | 2010-05-22 19:39:30 +0100 |
---|---|---|
committer | Ian Jackson <ian@liberator.relativity.greenend.org.uk> | 2010-05-22 19:39:30 +0100 |
commit | 80ebbf9e58e2c8a5980d96fd33ac68fd790ed53d (patch) | |
tree | 1df8d8547fb07abd8bfcecc356f04de883a56c65 /ipif | |
parent | 33e8a62b26621ae0dc48ee96cfcefbf5e70af7cd (diff) | |
download | userv-utils-80ebbf9e58e2c8a5980d96fd33ac68fd790ed53d.tar.gz |
generic build fix: makefile multi-line incompatibility fix
Diffstat (limited to 'ipif')
-rw-r--r-- | ipif/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ipif/Makefile b/ipif/Makefile index ce3f440..a34a85f 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -53,13 +53,12 @@ install-examples: cp *.example $(etcvpn)/. udptunnel-reconf: udptunnel-reconf.pl Makefile - perl -pe ' \ - print "\ -\$$shareuserv= \"$(shareuserv)\";\n\ -\$$etcvpn= \"$(etcvpn)\";\n\ -\$$varlibvpn= \"$(varlibvpn)\";\n" if m#^\# \@\@\@\-#; \ - $$_="" if m/^\# \@\@\@\-/ .. m/^\# \-\@\@\@/; \ - ' \ + perl -p \ + -e ' print " ' \ + -e '\$$shareuserv= \"$(shareuserv)\";\n ' \ + -e '\$$etcvpn= \"$(etcvpn)\";\n ' \ + -e '\$$varlibvpn= \"$(varlibvpn)\";\n" if m#^\# \@\@\@\-#; ' \ + -e ' $$_="" if m/^\# \@\@\@\-/ .. m/^\# \-\@\@\@/; ' \ <$< >$@.new chmod +x $@.new mv -f $@.new $@ |