Former-commit-id: 202296404e6a70f8ae96db99faffb456104c57e9 Former-commit-id: 118417735d2055683607df9809c9b721cc1b1bab
21 lines
345 B
Tcsh
Executable File
21 lines
345 B
Tcsh
Executable File
#!/bin/csh
|
|
#
|
|
# check if port is installed
|
|
#
|
|
set ORG_HOME = `dirname $0`/..
|
|
|
|
set PORTNAME = `$ORG_HOME/config/guess_port`
|
|
|
|
if (-f $ORG_HOME/ports/$PORTNAME/bin/exonerate) then
|
|
echo "+ port $PORTNAME is correctly installed"
|
|
exit 0
|
|
endif
|
|
|
|
echo "! port $PORTNAME not installed"
|
|
echo "! Please read README.txt for proper installation"
|
|
|
|
exit 1
|
|
|
|
|
|
|