Fix tix.port(8) --destination=. .version file.

This commit is contained in:
Jonas 'Sortie' Termansen 2022-06-14 21:40:20 +02:00
parent 9588b0d3db
commit 921e5e0d88
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ if should_run_step diff; then
update_version=true
fi
if $update_version; then
if $update_version && [ "${destination-.}" != "." ]; then
cp "$port.version" "$destination/$NAME.version"
fi