File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ $? != 0 ];then
2828 exit 2
2929fi
3030
31- cp -a basic ${OUT_DIR}
31+ cp -a $( find . -type f \( -name " basic" -or -name " basic.exe " \) ) ${OUT_DIR}
3232
3333echo -e " \n"
3434
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ $? != 0 ];then
2828 exit 2
2929fi
3030
31- cp -a inst-context ${OUT_DIR}
31+ cp -a $( find . -type f \( -name " inst-context" -or -name " inst-context.exe " \) ) ${OUT_DIR}
3232
3333echo -e " \n"
3434
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ $? != 0 ];then
2828 exit 2
2929fi
3030
31- cp -a inst-context ${OUT_DIR}
31+ cp -a $( find . -type f \( -name " inst-context" -or -name " inst-context.exe " \) ) ${OUT_DIR}
3232
3333echo -e " \n"
3434
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if [ $? != 0 ];then
2727 echo " BUILD_FAIL native-stack-overflow exit as $? \n"
2828 exit 2
2929fi
30- cp -a native-stack-overflow ${OUT_DIR}
30+ cp -a $( find . -type f \( -name " native-stack-overflow" -or -name " native-stack-overflow.exe " \) ) ${OUT_DIR}
3131
3232echo " ##################### build (WAMR_DISABLE_HW_BOUND_CHECK=1)"
3333cd ${CURR_DIR}
@@ -39,7 +39,7 @@ if [ $? != 0 ];then
3939 echo " BUILD_FAIL native-stack-overflow exit as $? \n"
4040 exit 2
4141fi
42- cp -a native-stack-overflow ${OUT_DIR} /native-stack-overflow.WAMR_DISABLE_HW_BOUND_CHECK
42+ cp -a $( find . -type f \( -name " native-stack-overflow" -or -name " native-stack-overflow.exe " \) ) ${OUT_DIR} /native-stack-overflow.WAMR_DISABLE_HW_BOUND_CHECK
4343
4444echo " ##################### signature shared lib"
4545cd ${CURR_DIR}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ $? != 0 ];then
2828 exit 2
2929fi
3030
31- cp -a shared-module ${OUT_DIR}
31+ cp -a $( find . -type f \( -name " shared-module" -or -name " shared-module.exe " \) ) ${OUT_DIR}
3232
3333printf " \n"
3434
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [ $? != 0 ];then
2828 exit 2
2929fi
3030
31- cp -a terminate ${OUT_DIR}
31+ cp -a $( find . -type f \( -name " terminate" -or -name " terminate.exe " \) ) ${OUT_DIR}
3232
3333printf " \n"
3434
You can’t perform that action at this time.
0 commit comments