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:
parent
29870c686d
commit
8d4fc29a87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29021
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user