X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=blobdiff_plain;f=ipif%2FMakefile;h=a34a85ff0d41407b0238b3dc23f3de715ac52415;hp=ce3f44094d732c3d5c121eb99b8054c60dcc626e;hb=0ae8e6867facf7eb8055533a642026d7c9e9cf38;hpb=c07be3595a60917243c741a53d7a2644db897a71 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 $@