Skip to content

Commit 5eb5bcd

Browse files
committed
build: Support vmd2prototype folder locations
1 parent 1845638 commit 5eb5bcd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

devel-tools/compile-vmd.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,13 @@ compile_vmd_target() {
201201
export VMDPLUGINDIR=${VMDINSTALLBINDIR}/plugins
202202

203203
local VMDPLUGINSRCDIR
204-
if [ -d ../plugins/${VMD_VERSION} ] ; then
204+
if [ -f ../plugins/Make-arch ] ; then
205+
# vmd2prototype-like location
206+
VMDPLUGINSRCDIR=../plugins
207+
elif [ -f ../plugins/${VMD_VERSION}/Make-arch ] ; then
205208
VMDPLUGINSRCDIR=../plugins/${VMD_VERSION}
206-
fi
207-
if [ -d ../vmd-plugins-source ] ; then
209+
elif [ -f ../vmd-plugins-source/Make-arch ] ; then
210+
# Location used in CI tests
208211
VMDPLUGINSRCDIR=../vmd-plugins-source
209212
fi
210213

0 commit comments

Comments
 (0)