pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap/files install(1) allows for installing /dev/...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b94d9b384bf
branches: trunk
changeset: 475511:7b94d9b384bf
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Mon May 17 14:54:45 2004 +0000
description:
install(1) allows for installing /dev/null to create an empty file,
so let's do this here, too. This should address PR pkg/25313.
diffstat:
bootstrap/files/install-sh.in | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4a86f52be29d -r 7b94d9b384bf bootstrap/files/install-sh.in
--- a/bootstrap/files/install-sh.in Mon May 17 11:29:34 2004 +0000
+++ b/bootstrap/files/install-sh.in Mon May 17 14:54:45 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: install-sh.in,v 1.1 2004/04/23 02:03:18 tv Exp $
+# $NetBSD: install-sh.in,v 1.2 2004/05/17 14:54:45 jschauma Exp $
# This script now also installs multiple files, but might choke on installing
# multiple files with spaces in the file names.
#
@@ -151,6 +151,9 @@
then
echo "install: $src: not a regular file"
exit 1
+ elif [ x"$src" = x"/dev/null" ]
+ then
+ instcmd="$cpprog"
else
echo "install: $src does not exist"
exit 1
Home |
Main Index |
Thread Index |
Old Index