aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-11-09 17:32:48 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-11-09 17:33:04 -0800
commited70165294a6b846a9b0d513689dea03539755f7 (patch)
tree5f81723db4638e322d2b9d1a8d07000b2c5cb59d /tools
parente96ae0c78dc511d361d37bc69259d18a68648b8f (diff)
Better handling of shebangs and comments at the top of a file.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/upgrade.nom4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/upgrade.nom b/tools/upgrade.nom
index a937e46..5133c76 100755
--- a/tools/upgrade.nom
+++ b/tools/upgrade.nom
@@ -45,9 +45,7 @@ for %path in %args:
%tree = (%code parsed)
%uptree = (..)
%tree upgraded from (%start_version or (%tree.version or (Nomsu version))) to %version
- %text = "\
- ..#!/usr/bin/env nomsu -V\%version
- \(%uptree as nomsu)"
+ %text = (%uptree as nomsu)
when:
%inplace: