aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl80
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-28 08:20:48 +0800
committerasami <asami@FreeBSD.org>1998-11-28 08:20:48 +0800
commit03bdff6d19d1549a2fbf8352604d806c3937f71e (patch)
treec3a1634f6cc1bfb0aa1959ad4e35904b38618679 /lang/tcl80
parente5c6066e2c41b7257f3b884f3b0f62819e0940c7 (diff)
downloadfreebsd-ports-gnome-03bdff6d19d1549a2fbf8352604d806c3937f71e.tar.gz
freebsd-ports-gnome-03bdff6d19d1549a2fbf8352604d806c3937f71e.tar.zst
freebsd-ports-gnome-03bdff6d19d1549a2fbf8352604d806c3937f71e.zip
Create ${PREFIX}/bin before cat'ing a file into it.
Diffstat (limited to 'lang/tcl80')
-rw-r--r--lang/tcl80/pkg-install.tclsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/tcl80/pkg-install.tclsh b/lang/tcl80/pkg-install.tclsh
index 244df90dfdba..7133e84d294f 100644
--- a/lang/tcl80/pkg-install.tclsh
+++ b/lang/tcl80/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