1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Be aware of otclsh and tclsh8.1_r

This commit is contained in:
Tim Vanderhoek 2000-05-31 18:31:17 +00:00
parent 29870c686d
commit 8d4fc29a87
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29021
8 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
TCLSH=${PKG_PREFIX}/bin/tclsh
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1

View File

@ -23,7 +23,7 @@ echo "installed because a given port may depend on a specific version."
echo
echo "On your system, tclsh is installed under at least the following names:"
echo
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
do
echo $name
done

View File

@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
TCLSH=${PKG_PREFIX}/bin/tclsh
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1

View File

@ -23,7 +23,7 @@ echo "installed because a given port may depend on a specific version."
echo
echo "On your system, tclsh is installed under at least the following names:"
echo
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
do
echo $name
done

View File

@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
TCLSH=${PKG_PREFIX}/bin/tclsh
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1

View File

@ -23,7 +23,7 @@ echo "installed because a given port may depend on a specific version."
echo
echo "On your system, tclsh is installed under at least the following names:"
echo
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
do
echo $name
done

View File

@ -13,7 +13,7 @@ BINDIR="${PKG_PREFIX}/bin /usr/X11R6/bin"
TCLSH=${PKG_PREFIX}/bin/tclsh
tclshs=$(/bin/ls ${BINDIR} 2> /dev/null | \
egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
if [ "$tclshs" = "" -a -f ${TCLSH} ] && \
(head -3 ${TCLSH} | grep awieYJFnsuILOnfsYEW) > /dev/null 2>&1

View File

@ -23,7 +23,7 @@ echo "installed because a given port may depend on a specific version."
echo
echo "On your system, tclsh is installed under at least the following names:"
echo
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^i?tclsh[0-9]+\.[0-9]+([a-z][a-z])?$')
for name in $(/bin/ls $(echo $PATH | sed 's/:/ /g') 2> /dev/null | egrep '^(i?tclsh[0-9]+\.[0-9]+(\_r)?([a-z][a-z])?)|otclsh$')
do
echo $name
done