Skip to content

Commit

Permalink
Update compile.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonAura authored Mar 25, 2024
1 parent 9bda18b commit 62136a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependency/shell/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ then
cp -f $bind/$filename $workdir/API/src/AI.cpp
cmake ./CMakeLists.txt && make -j$(nproc) >$base_name.txt 2>&1
mv ./capi $output/$base_name
if [ $? -eq 0 ]; then
if [ $? -ne 0 ]; then
flag=0
fi
mv ./compile_log.txt $output/compile_log.txt
Expand Down

0 comments on commit 62136a8

Please sign in to comment.