summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makepkg.sh.in')
-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