Skip to content

Commit 07bacbd

Browse files
committed
fixed WebDriverTest may not exists
1 parent 898f221 commit 07bacbd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ do
2626
[ $? -ne 0 ] && exit 1
2727
cd ../../..
2828
mkdir -p bin/$platform/$mode/
29-
cp -f out/$platform/$mode/Default/libWebDriver.a bin/$platform/$mode/ 2>/dev/null
29+
cp -f out/$platform/$mode/Default/libWebDriver.a bin/$platform/$mode/
3030
cp -f out/$platform/$mode/Default/lib.target/libWebDriver.so bin/$platform/$mode/ 2>/dev/null
31-
cp -f out/$platform/$mode/Default/WebDriverTest bin/$platform/$mode/ 2>/dev/null
31+
if [ -f out/$platform/$mode/Default/WebDriverTest ]
32+
then
33+
cp -f out/$platform/$mode/Default/WebDriverTest bin/$platform/$mode/
34+
fi
3235
done
3336
done

0 commit comments

Comments
 (0)