On 09/24/2017 06:56 PM, Luke Shumaker wrote:
This mirrors dbscripts commit 625fa02 by Pierre Schmitz <pierre@archlinux.de> at 2017-04-18 14:20:49 --- lib/common.sh | 100 ++++------------------------------------------------------ 1 file changed, 7 insertions(+), 93 deletions(-)
diff --git a/lib/common.sh b/lib/common.sh index 0fb93d9..a3c2ec2 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -6,62 +6,21 @@ [[ -z ${_INCLUDE_COMMON_SH:-} ]] || return 0 _INCLUDE_COMMON_SH=true
+# shellcheck disable=1091 +. /usr/share/makepkg/util.sh
Please just source the actual parts we need, the same way https://git.archlinux.org/dbscripts.git/commit/?id=625fa02 also only uses /usr/share/makepkg/util/message.sh /usr/share/makepkg/util/util.sh /usr/share/makepkg/util/pkgbuild.sh -- Eli Schwartz