summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-15 18:05:20 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-15 18:05:20 (GMT)
commit2084076a3e4acf8359d81d79b32ccc9128c3f60a (patch)
treeccb3de488e984c230de6616e1be80547edd681ac /abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch
parent25a8f9cc50b5c6d8d97ecd4afadc22d90a16affa (diff)
downloadlinhes_pkgbuild-2084076a3e4acf8359d81d79b32ccc9128c3f60a.zip
linhes_pkgbuild-2084076a3e4acf8359d81d79b32ccc9128c3f60a.tar.gz
linhes_pkgbuild-2084076a3e4acf8359d81d79b32ccc9128c3f60a.tar.bz2
pacman: update to 5.0.2
Diffstat (limited to 'abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch')
-rw-r--r--abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch b/abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch
deleted file mode 100644
index b8ada06..0000000
--- a/abs/core/pacman/0001-libmakepkg-fix-is_array-function.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2822a45fa91b430c99b4b8bd3531ee745ada1ab7 Mon Sep 17 00:00:00 2001
-From: Allan McRae <allan@archlinux.org>
-Date: Fri, 26 Feb 2016 15:01:11 +1000
-Subject: [PATCH] libmakepkg: fix is_array function
-
-This happened to work for the majority of cases because the only calling
-function used a variable named "i" that was related to the variable being
-passed to the function.
-
-Fixes FS#48340.
-
-Signed-off-by: Allan McRae <allan@archlinux.org>
----
- scripts/libmakepkg/util/util.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/scripts/libmakepkg/util/util.sh b/scripts/libmakepkg/util/util.sh
-index 675e75d..f9f1c20 100644
---- a/scripts/libmakepkg/util/util.sh
-+++ b/scripts/libmakepkg/util/util.sh
-@@ -46,7 +46,7 @@ is_array() {
- local shellopts=$(shopt -p)
- shopt -s extglob
-
-- if [[ $(declare -p "$i") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]]; then
-+ if [[ $(declare -p "$v") == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]]; then
- ret=0
- fi
-
---
-2.7.1
-