Skip to content

Commit

Permalink
pnd: cd to start dir in pxml gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudef committed Sep 10, 2017
1 parent 5966699 commit 1ee067b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/makepnd.in
Original file line number Diff line number Diff line change
Expand Up @@ -1984,15 +1984,17 @@ out_pxml() {
out_pxml_descriptions
echo '</package>'
for e in "${pndexec[@]}"; do
local oldcd="$PWD"
cd_safe "$startdir"
backup_package_variables
pndtitle[en_US]=''
pnddesc[en_US]=''
if declare -F "pnd_application_information" > /dev/null; then
local oldcd="$PWD"
run_function_safe "pnd_application_information" "$e"
cd_safe "$oldcd"
fi
check_sanity || exit 1
cd_safe "$oldcd"

pndauthor=${pndauthor-$packager}
pndappdata=${pndappdata-$pkgname}

Expand Down

0 comments on commit 1ee067b

Please sign in to comment.