kiss: restore PWD

This commit is contained in:
Dylan Araps 2021-07-04 12:47:03 +00:00
parent 3d1d4ef792
commit 7e8ced253d
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -876,6 +876,8 @@ pkg_conflicts() {
# Print the file with all symlinks in its path # Print the file with all symlinks in its path
# resolved to their real locations. # resolved to their real locations.
printf '%s\n' "${PWD#"$KISS_ROOT"}/${file##*/}" printf '%s\n' "${PWD#"$KISS_ROOT"}/${file##*/}"
cd "$OLDPWD"
done < "$tar_dir/$1/$pkg_db/$1/manifest" > "$mak_dir/cf_m" done < "$tar_dir/$1/$pkg_db/$1/manifest" > "$mak_dir/cf_m"
p_name=$1 p_name=$1