Skip to content

Commit a9e0362

Browse files
committed
fix backwards python3 finder
1 parent 316c0db commit a9e0362

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build-coatjava.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ rm -rf coatjava
8787
mkdir -p coatjava
8888
cp -r bin coatjava/
8989
cp -r etc coatjava/
90-
# create schema directories for partial reconstruction outputs
91-
which python >& /dev/null && python=python || python=python3
90+
91+
# create schema directories for partial reconstruction outputs
92+
which python3 >& /dev/null && python=python3 || python=python
9293
$python etc/bankdefs/util/bankSplit.py coatjava/etc/bankdefs/hipo4 || exit 1
9394
mkdir -p coatjava/lib/clas
9495
cp external-dependencies/JEventViewer-1.1.jar coatjava/lib/clas/

0 commit comments

Comments
 (0)