From 4d6114bdce868c9a87f62de17817aac4d5e62799 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 23 Nov 2016 21:44:52 +0100 Subject: [PATCH] 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. --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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