From 71f3c5d27546cdcedd24a495148ccdb19a3bf98d Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Thu, 27 Feb 2020 08:18:53 -0500 Subject: [PATCH] Fix invalid warning on setup. --- webapp/install-mts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/install-mts.sh b/webapp/install-mts.sh index 1e93661..fdf50b8 100755 --- a/webapp/install-mts.sh +++ b/webapp/install-mts.sh @@ -183,7 +183,7 @@ END end=`date +%s` compile_time=$((end-start)) echo "Compiling the program finished in $compile_time seconds." - cp release.txt minetest/ | customWarn "Cannot copy `pwd`/release.txt to `pwd`/minetest/" + cp release.txt minetest/ || customWarn "Cannot copy `pwd`/release.txt to `pwd`/minetest/" else echo "* using existing minetest..." fi