Skip to content

Commit 3ba4712

Browse files
committed
U run bootstrap script if exists
1 parent 1f3b674 commit 3ba4712

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/universalJavaApplicationStub

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,7 @@ cd "${WorkingDirectory}" || exit 13
874874
stub_logger "[WorkingDirectory] ${WorkingDirectory}"
875875

876876
# invoke bootstrap script
877-
$BootstrapSript=$ResourcesFolder/scripts/bootstrap.sh
878-
[ -f "$BootstrapSript" ] && source $BootstrapSript
877+
$Bootstrap=$ResourcesFolder/scripts/bootstrap && [ -x "$Bootstrap" ] && $Bootstrap
879878

880879
# execute Java and set
881880
# - classpath

0 commit comments

Comments
 (0)