mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-11 22:08:54 +00:00
fix shebangs #! /xxx => #!/xxx (#18444)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! usr/bin/env python3
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Generates the unidecode.dat module
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user