Skip to content

Commit

Permalink
fix shebangs #! /xxx => #!/xxx (#18444)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored Jul 7, 2021
1 parent b88496a commit b72ecaf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build_all.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/pure/unidecode/gen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! usr/bin/env python3
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Generates the unidecode.dat module
Expand Down
2 changes: 1 addition & 1 deletion tools/ci_generate.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tools/niminst/buildsh.nimf
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion tools/niminst/deinstall.nimf
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/niminst/install.nimf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b72ecaf

Please sign in to comment.