Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebfbd99

Browse files
committed
Fix so build can continue if there are no java files to copy
Line 551 had a try clause before it copied java files, but often there are no java files to copy. This would cause the build to fail. I removed the try clause so the build will continue whether there are java files to copy or not.
1 parent 668cedc commit ebfbd99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribute.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ function run_distribute() {
548548
try cp -a $BUILD_PATH/libs/* libs/$ARCH/
549549

550550
debug "Copy java files from various libs"
551-
try cp -a $BUILD_PATH/java/* src
551+
cp -a $BUILD_PATH/java/* src
552552

553553
debug "Fill private directory"
554554
try cp -a python-install/lib private/

0 commit comments

Comments
 (0)