summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-11-23 21:44:52 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-23 21:44:52 +0100
commit4d6114bdce868c9a87f62de17817aac4d5e62799 (patch)
tree663998ac2816e3972607a4a424764a765d434c93
parente18d6228e7fc1e7601b4c793ef889cfd3e36fc36 (diff)
downloadabuild-4d6114bdce868c9a87f62de17817aac4d5e62799.tar.bz2
abuild-4d6114bdce868c9a87f62de17817aac4d5e62799.tar.xz
abuild: change shebang to /bin/ash
This script uses variable expansion / pattern replacement, which is not defined in POSIX-sh. Also APKBUILDs are not required to be strictly POSIX-sh compatible. If someone run abuild on system with e.g. dash as /bin/sh, then it fails (and someone reported exactly that on IRC today). Therefore abuild should explicitly use /bin/ash in shebang and not /bin/sh.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 8b6d8dd..e49956b 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/ash
# abuild - build apk packages (light version of makepkg)
# Copyright (c) 2008-2015 Natanael Copa <ncopa@alpinelinux.org>