fix: output and dist path comparison
This commit is contained in:
parent
c2d3b173e2
commit
64fb17091a
@ -448,7 +448,7 @@ info "Cleaning the root directory"
|
||||
rm -rf "${rootpath}"
|
||||
|
||||
# move archive to out directory
|
||||
if [ "$(realpath "${distpath}/${archive}")" != "$(realpath "${outpath}")" ]; then
|
||||
if [ "$(realpath "${distpath}")" != "$(realpath "${outpath}")" ]; then
|
||||
mv "${distpath}/${archive}" "${outpath}" 2> /dev/null
|
||||
check_ret "Failed to move the archive to the output directory"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user