diff options
Diffstat (limited to 'plugins-scripts/subst.in')
-rw-r--r-- | plugins-scripts/subst.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins-scripts/subst.in b/plugins-scripts/subst.in index 89868684..80b93d9d 100644 --- a/plugins-scripts/subst.in +++ b/plugins-scripts/subst.in | |||
@@ -37,6 +37,9 @@ BEGIN { | |||
37 | 37 | ||
38 | } | 38 | } |
39 | 39 | ||
40 | # Plugin revision | ||
41 | /@NP_VERSION@/ {sub(/@NP_VERSION@/,ENVIRON["NP_VERSION"]);} | ||
42 | |||
40 | # scripting language (first line) | 43 | # scripting language (first line) |
41 | 44 | ||
42 | /^#! ?\/.*\/python/ {sub(/^#! ?\/.*\/python/,"#! @PYTHON@");} | 45 | /^#! ?\/.*\/python/ {sub(/^#! ?\/.*\/python/,"#! @PYTHON@");} |