aboutsummaryrefslogtreecommitdiff
path: root/contrib/scripts
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-27 21:40:37 +0000
committerng0 <ng0@n0.is>2019-11-27 21:40:37 +0000
commitf6d13407fa22dcb8585bf261de8ebd4d0720e482 (patch)
tree3c39f7cecabecacd570901ecb36e0c93df02c6d8 /contrib/scripts
parent8079f8bd5569eb7f5853f5a7cf1499403b2a463a (diff)
downloadgnunet-f6d13407fa22dcb8585bf261de8ebd4d0720e482.tar.gz
gnunet-f6d13407fa22dcb8585bf261de8ebd4d0720e482.zip
contrib/scripts: use awk to modify interpreter substitution lines.
Diffstat (limited to 'contrib/scripts')
-rw-r--r--contrib/scripts/Makefile.am2
-rwxr-xr-xcontrib/scripts/gnunet-chk.py.in2
-rw-r--r--contrib/scripts/gnunet-logread/Makefile.am2
-rwxr-xr-xcontrib/scripts/gnunet-logread/gnunet-logread-ipc-sdedit.in2
-rwxr-xr-xcontrib/scripts/gnunet-logread/gnunet-logread.in2
-rw-r--r--contrib/scripts/gnunet_janitor.py.in2
-rw-r--r--contrib/scripts/gnunet_pyexpect.py.in2
-rw-r--r--contrib/scripts/pydiffer.py.in2
-rwxr-xr-xcontrib/scripts/removetrailingwhitespace.py.in2
-rw-r--r--contrib/scripts/terminate.py.in2
10 files changed, 10 insertions, 10 deletions
diff --git a/contrib/scripts/Makefile.am b/contrib/scripts/Makefile.am
index 91b2bcd5a..367e5c4c9 100644
--- a/contrib/scripts/Makefile.am
+++ b/contrib/scripts/Makefile.am
@@ -29,7 +29,7 @@ EXTRA_DIST = \
29CLEANFILES = \ 29CLEANFILES = \
30 $(noinst_SCRIPTS) 30 $(noinst_SCRIPTS)
31 31
32do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' 32do_subst = $(AWK) -v py="$(PYTHON)" '{gsub("@PYTHONEXE@",py); print $$0}'
33 33
34# Use SUFFIX Extension rules, they are more portable for every 34# Use SUFFIX Extension rules, they are more portable for every
35# implementation of 'make'. 35# implementation of 'make'.
diff --git a/contrib/scripts/gnunet-chk.py.in b/contrib/scripts/gnunet-chk.py.in
index 7d2cf73d3..afc0924f4 100755
--- a/contrib/scripts/gnunet-chk.py.in
+++ b/contrib/scripts/gnunet-chk.py.in
@@ -1,4 +1,4 @@
1#!@PYTHON@ 1#!@PYTHONEXE@
2# This file is part of GNUnet. 2# This file is part of GNUnet.
3# (C) 2013, 2018 Christian Grothoff (and other contributing authors) 3# (C) 2013, 2018 Christian Grothoff (and other contributing authors)
4# 4#
diff --git a/contrib/scripts/gnunet-logread/Makefile.am b/contrib/scripts/gnunet-logread/Makefile.am
index 7903c07de..790b58fea 100644
--- a/contrib/scripts/gnunet-logread/Makefile.am
+++ b/contrib/scripts/gnunet-logread/Makefile.am
@@ -1,7 +1,7 @@
1# This Makefile.am is in the public domain 1# This Makefile.am is in the public domain
2AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include 2AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3 3
4do_subst = $(SED) -e 's,[@]PERL[@],$(PERL),g' 4do_subst = $(AWK) -v py="$(PERL)" '{gsub("@PERLEXE@",py); print $$0}'
5 5
6SUFFIXES = .in 6SUFFIXES = .in
7 7
diff --git a/contrib/scripts/gnunet-logread/gnunet-logread-ipc-sdedit.in b/contrib/scripts/gnunet-logread/gnunet-logread-ipc-sdedit.in
index f8b7dc735..72a1551ae 100755
--- a/contrib/scripts/gnunet-logread/gnunet-logread-ipc-sdedit.in
+++ b/contrib/scripts/gnunet-logread/gnunet-logread-ipc-sdedit.in
@@ -1,4 +1,4 @@
1#!@PERL@ 1#!@PERLEXE@
2 2
3# 1. Start sdedit and enable 'RT diagram server' in 'Global preferences'. 3# 1. Start sdedit and enable 'RT diagram server' in 'Global preferences'.
4# 4#
diff --git a/contrib/scripts/gnunet-logread/gnunet-logread.in b/contrib/scripts/gnunet-logread/gnunet-logread.in
index 9b1c65401..e27c1d3fc 100755
--- a/contrib/scripts/gnunet-logread/gnunet-logread.in
+++ b/contrib/scripts/gnunet-logread/gnunet-logread.in
@@ -1,4 +1,4 @@
1#!@PERL@ 1#!@PERLEXE@
2# helper tool to make gnunet logs more readable 2# helper tool to make gnunet logs more readable
3# try 'gnunet-logread -h' for usage 3# try 'gnunet-logread -h' for usage
4 4
diff --git a/contrib/scripts/gnunet_janitor.py.in b/contrib/scripts/gnunet_janitor.py.in
index d6834bfb4..9d28d38e6 100644
--- a/contrib/scripts/gnunet_janitor.py.in
+++ b/contrib/scripts/gnunet_janitor.py.in
@@ -1,4 +1,4 @@
1#!@PYTHON@ 1#!@PYTHONEXE@
2# This file is part of GNUnet. 2# This file is part of GNUnet.
3# (C) 2011, 2018 Christian Grothoff (and other contributing authors) 3# (C) 2011, 2018 Christian Grothoff (and other contributing authors)
4# 4#
diff --git a/contrib/scripts/gnunet_pyexpect.py.in b/contrib/scripts/gnunet_pyexpect.py.in
index 48f8acdc1..1124dc33c 100644
--- a/contrib/scripts/gnunet_pyexpect.py.in
+++ b/contrib/scripts/gnunet_pyexpect.py.in
@@ -1,4 +1,4 @@
1#!@PYTHON@ 1#!@PYTHONEXE@
2# This file is part of GNUnet. 2# This file is part of GNUnet.
3# (C) 2010, 2018 Christian Grothoff (and other contributing authors) 3# (C) 2010, 2018 Christian Grothoff (and other contributing authors)
4# 4#
diff --git a/contrib/scripts/pydiffer.py.in b/contrib/scripts/pydiffer.py.in
index 08f0f4ae6..5235df3f7 100644
--- a/contrib/scripts/pydiffer.py.in
+++ b/contrib/scripts/pydiffer.py.in
@@ -1,4 +1,4 @@
1#!@PYTHON@ 1#!@PYTHONEXE@
2 2
3import os 3import os
4import sys 4import sys
diff --git a/contrib/scripts/removetrailingwhitespace.py.in b/contrib/scripts/removetrailingwhitespace.py.in
index e6c2d9014..6a133ecd0 100755
--- a/contrib/scripts/removetrailingwhitespace.py.in
+++ b/contrib/scripts/removetrailingwhitespace.py.in
@@ -1,4 +1,4 @@
1#!@PYTHON@ 1#!@PYTHONEXE@
2 2
3import sys 3import sys
4import re 4import re
diff --git a/contrib/scripts/terminate.py.in b/contrib/scripts/terminate.py.in
index 2cb4a13c4..c82fdc981 100644
--- a/contrib/scripts/terminate.py.in
+++ b/contrib/scripts/terminate.py.in
@@ -1,4 +1,4 @@
1#!@PYTHON@ 1#!@PYTHONEXE@
2# This file is part of GNUnet. 2# This file is part of GNUnet.
3# (C) 2011, 2018 Christian Grothoff (and other contributing authors) 3# (C) 2011, 2018 Christian Grothoff (and other contributing authors)
4# 4#