fix shebangs #! /xxx => #!/xxx (#18444)

This commit is contained in:
Timothee Cour
2021-07-06 21:00:59 -07:00
committed by GitHub
parent b88496ac67
commit b72ecaf639
6 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/sh
# DO NO EDIT DIRECTLY! auto-generated by `nim r tools/ci_generate.nim`
# build development version of the compiler; can be rerun safely.

View File

@@ -1,4 +1,4 @@
#! usr/bin/env python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Generates the unidecode.dat module

View File

@@ -82,7 +82,7 @@ if not exist %nim_csources% (
proc genPosixScript(): string =
result = fmt"""
#! /bin/sh
#!/bin/sh
# {doNotEdit}
# build development version of the compiler; can be rerun safely.

View File

@@ -1,6 +1,6 @@
#? stdtmpl(subsChar='?') | standard
#proc generateBuildShellScript(c: ConfigData): string =
# result = "#! /bin/sh\n# Generated from niminst\n" &
# result = "#!/bin/sh\n# Generated from niminst\n" &
# "# Template is in tools/niminst/buildsh.nimf\n" &
# "# To regenerate run ``niminst csource`` or ``koch csource``\n"

View File

@@ -1,6 +1,6 @@
#? stdtmpl(subsChar='?') | standard
#proc generateDeinstallScript(c: ConfigData): string =
# result = "#! /bin/sh\n# Generated by niminst\n"
# result = "#!/bin/sh\n# Generated by niminst\n"
# var proj = c.name.toLowerAscii
if [ $# -eq 1 ] ; then

View File

@@ -1,6 +1,6 @@
#? stdtmpl(subsChar = '?') | standard
#proc generateInstallScript(c: ConfigData): string =
# result = "#! /bin/sh\n# Generated by niminst\n"
# result = "#!/bin/sh\n# Generated by niminst\n"
# var proj = c.name.toLowerAscii
set -e