We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1845638 commit 5eb5bcdCopy full SHA for 5eb5bcd
1 file changed
devel-tools/compile-vmd.sh
@@ -201,10 +201,13 @@ compile_vmd_target() {
201
export VMDPLUGINDIR=${VMDINSTALLBINDIR}/plugins
202
203
local VMDPLUGINSRCDIR
204
- if [ -d ../plugins/${VMD_VERSION} ] ; then
+ if [ -f ../plugins/Make-arch ] ; then
205
+ # vmd2prototype-like location
206
+ VMDPLUGINSRCDIR=../plugins
207
+ elif [ -f ../plugins/${VMD_VERSION}/Make-arch ] ; then
208
VMDPLUGINSRCDIR=../plugins/${VMD_VERSION}
- fi
- if [ -d ../vmd-plugins-source ] ; then
209
+ elif [ -f ../vmd-plugins-source/Make-arch ] ; then
210
+ # Location used in CI tests
211
VMDPLUGINSRCDIR=../vmd-plugins-source
212
fi
213
0 commit comments