Skip to content

Commit

Permalink
Check folder existence before moving
Browse files Browse the repository at this point in the history
  • Loading branch information
FriwiDev authored Oct 6, 2023
1 parent b6c0abd commit 0bf2725
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions compile_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,13 @@ if [ -f "out/buildtools/clang-format" ]; then
fi

#Move jcef_build
rm -rf jcef/jcef_build
mv out/jcef_build jcef/jcef_build
if [ -f "out/jcef_build" ]; then
rm -rf jcef/jcef_build
mv out/jcef_build jcef/jcef_build
fi

#Move target to binary_distrib
rm -rf jcef/binary_distrib
mv out/target jcef/binary_distrib
if [ -f "out/target" ]; then
rm -rf jcef/binary_distrib
mv out/target jcef/binary_distrib
fi

0 comments on commit 0bf2725

Please sign in to comment.