diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-05-31 17:45:53 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 2000-05-31 17:45:53 +0000 |
commit | b766e9ce1623aa7195499f76824ff58576b46110 (patch) | |
tree | a4ebd382f354be5175680e7d1b876c2a7fe9f88e /lang | |
parent | 7ab809f56b94f395118f05dd960f2f14b9108620 (diff) | |
download | ports-b766e9ce1623aa7195499f76824ff58576b46110.tar.gz ports-b766e9ce1623aa7195499f76824ff58576b46110.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/tcl80/pkg-install.tclsh | 9 | ||||
-rw-r--r-- | lang/tcl82/pkg-install.tclsh | 9 | ||||
-rw-r--r-- | lang/tcl83/pkg-install.tclsh | 9 | ||||
-rw-r--r-- | lang/tcl84/pkg-install.tclsh | 9 |
4 files changed, 24 insertions, 12 deletions
diff --git a/lang/tcl80/pkg-install.tclsh b/lang/tcl80/pkg-install.tclsh index 055957a6c36f..9dec69942b2a 100644 --- a/lang/tcl80/pkg-install.tclsh +++ b/lang/tcl80/pkg-install.tclsh @@ -3,14 +3,17 @@ # The user may have a tclsh they want to preserve ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/tclsh 2> /dev/null \ | sed -e 's/.*\*\*//'` -if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 001 ] +if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 002 ] then [ -f ${PKG_PREFIX}/bin/tclsh ] && chmod u+w ${PKG_PREFIX}/bin/tclsh mkdir -p ${PKG_PREFIX}/bin cat > ${PKG_PREFIX}/bin/tclsh <<'EOF' #!/bin/sh -# Installed by ports system. id: awieYJFnsuILOnfsYEW**001 +# Installed by ports system. id: awieYJFnsuILOnfsYEW**002 +# +# $FreeBSD$ +# ( echo "In FreeBSD, tclsh is named with a version number. This is because" @@ -20,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 '^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]+([a-z][a-z])?$') do echo $name done diff --git a/lang/tcl82/pkg-install.tclsh b/lang/tcl82/pkg-install.tclsh index 055957a6c36f..9dec69942b2a 100644 --- a/lang/tcl82/pkg-install.tclsh +++ b/lang/tcl82/pkg-install.tclsh @@ -3,14 +3,17 @@ # The user may have a tclsh they want to preserve ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/tclsh 2> /dev/null \ | sed -e 's/.*\*\*//'` -if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 001 ] +if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 002 ] then [ -f ${PKG_PREFIX}/bin/tclsh ] && chmod u+w ${PKG_PREFIX}/bin/tclsh mkdir -p ${PKG_PREFIX}/bin cat > ${PKG_PREFIX}/bin/tclsh <<'EOF' #!/bin/sh -# Installed by ports system. id: awieYJFnsuILOnfsYEW**001 +# Installed by ports system. id: awieYJFnsuILOnfsYEW**002 +# +# $FreeBSD$ +# ( echo "In FreeBSD, tclsh is named with a version number. This is because" @@ -20,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 '^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]+([a-z][a-z])?$') do echo $name done diff --git a/lang/tcl83/pkg-install.tclsh b/lang/tcl83/pkg-install.tclsh index 055957a6c36f..9dec69942b2a 100644 --- a/lang/tcl83/pkg-install.tclsh +++ b/lang/tcl83/pkg-install.tclsh @@ -3,14 +3,17 @@ # The user may have a tclsh they want to preserve ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/tclsh 2> /dev/null \ | sed -e 's/.*\*\*//'` -if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 001 ] +if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 002 ] then [ -f ${PKG_PREFIX}/bin/tclsh ] && chmod u+w ${PKG_PREFIX}/bin/tclsh mkdir -p ${PKG_PREFIX}/bin cat > ${PKG_PREFIX}/bin/tclsh <<'EOF' #!/bin/sh -# Installed by ports system. id: awieYJFnsuILOnfsYEW**001 +# Installed by ports system. id: awieYJFnsuILOnfsYEW**002 +# +# $FreeBSD$ +# ( echo "In FreeBSD, tclsh is named with a version number. This is because" @@ -20,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 '^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]+([a-z][a-z])?$') do echo $name done diff --git a/lang/tcl84/pkg-install.tclsh b/lang/tcl84/pkg-install.tclsh index 055957a6c36f..9dec69942b2a 100644 --- a/lang/tcl84/pkg-install.tclsh +++ b/lang/tcl84/pkg-install.tclsh @@ -3,14 +3,17 @@ # The user may have a tclsh they want to preserve ver=`grep -a awieYJFnsuILOnfsYEW ${PKG_PREFIX}/bin/tclsh 2> /dev/null \ | sed -e 's/.*\*\*//'` -if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 001 ] +if [ ! -e ${PKG_PREFIX}/bin/tclsh ] || [ "$ver" != "" -a "$ver" -lt 002 ] then [ -f ${PKG_PREFIX}/bin/tclsh ] && chmod u+w ${PKG_PREFIX}/bin/tclsh mkdir -p ${PKG_PREFIX}/bin cat > ${PKG_PREFIX}/bin/tclsh <<'EOF' #!/bin/sh -# Installed by ports system. id: awieYJFnsuILOnfsYEW**001 +# Installed by ports system. id: awieYJFnsuILOnfsYEW**002 +# +# $FreeBSD$ +# ( echo "In FreeBSD, tclsh is named with a version number. This is because" @@ -20,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 '^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]+([a-z][a-z])?$') do echo $name done |