summaryrefslogtreecommitdiffstats
path: root/lang/tcl82/pkg-install.tclsh
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-28 00:20:48 +0000
committerasami <asami@FreeBSD.org>1998-11-28 00:20:48 +0000
commit03bdff6d19d1549a2fbf8352604d806c3937f71e (patch)
treec3a1634f6cc1bfb0aa1959ad4e35904b38618679 /lang/tcl82/pkg-install.tclsh
parente5c6066e2c41b7257f3b884f3b0f62819e0940c7 (diff)
downloadFreeBSD-ports-03bdff6d19d1549a2fbf8352604d806c3937f71e.zip
FreeBSD-ports-03bdff6d19d1549a2fbf8352604d806c3937f71e.tar.gz
Create ${PREFIX}/bin before cat'ing a file into it.
Diffstat (limited to 'lang/tcl82/pkg-install.tclsh')
-rw-r--r--lang/tcl82/pkg-install.tclsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/tcl82/pkg-install.tclsh b/lang/tcl82/pkg-install.tclsh
index 244df90..7133e84 100644
--- a/lang/tcl82/pkg-install.tclsh
+++ b/lang/tcl82/pkg-install.tclsh
@@ -7,6 +7,7 @@ if [ ! -f ${PKG_PREFIX}/bin/tclsh ] || [ \
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
OpenPOWER on IntegriCloud