summaryrefslogtreecommitdiff
path: root/src/chroot-tools/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-04 01:55:41 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-04 03:12:06 -0400
commitba18e47d13ed606066ed75a3d2b624b242c9c3c5 (patch)
tree1b7c48c9d2c8c5c4d42a8bda2772469dc3e24458 /src/chroot-tools/Makefile
parent95d22e66712e1f8a20da85d1f97387190d5d7536 (diff)
chroot-tools: tidy shebangs of library files
Diffstat (limited to 'src/chroot-tools/Makefile')
-rw-r--r--src/chroot-tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/Makefile b/src/chroot-tools/Makefile
index 055b40e..c39b4f5 100644
--- a/src/chroot-tools/Makefile
+++ b/src/chroot-tools/Makefile
@@ -10,7 +10,7 @@ libretools.out.libs = $(libretools.src.sh) makechrootpkg.sh
files.out.int += chcleanup.lib
$(srcdir)/makechrootpkg.sh.in: $(srcdir)/makechrootpkg.in
- sed '/^\s*main "$$@"\s*$$/d' < $< > $@
+ sed -e '1s^.*^#!/hint/bash -euE^' -e '/^\s*main "$$@"\s*$$/d' < $< > $@
$(outdir)/chcleanup: $(srcdir)/chcleanup.in $(outdir)/chcleanup.lib
m4 -I$(@D) -P $< | $(libretools.edit) | install -m755 /dev/stdin $@