Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/makepkg.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index e9bd57cf..8aa6cfcc 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1281,6 +1281,11 @@ restore_package_variables() {
unset ${var}
fi
done
+
+ # pkgdesc gets restored as an array - convert back to a string
+ local pkgdesc_backup="${pkgdesc[@]}"
+ unset pkgdesc
+ pkgdesc=${pkgdesc_backup}
}
# getopt like parser