From 64fb17091af60c8f6e8c456cd3862a5df4e296ad Mon Sep 17 00:00:00 2001 From: ngn Date: Wed, 14 Aug 2024 02:20:47 +0300 Subject: [PATCH] fix: output and dist path comparison --- mp-build/scripts/mp-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp-build/scripts/mp-build.sh b/mp-build/scripts/mp-build.sh index 517ced5..f234762 100755 --- a/mp-build/scripts/mp-build.sh +++ b/mp-build/scripts/mp-build.sh @@ -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