From owner-freebsd-hackers Tue Mar 14 18:50:36 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA06435 for hackers-outgoing; Tue, 14 Mar 1995 18:50:36 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA06427; Tue, 14 Mar 1995 18:50:16 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id MAA29436; Wed, 15 Mar 1995 12:47:21 +1000 Date: Wed, 15 Mar 1995 12:47:21 +1000 From: Bruce Evans Message-Id: <199503150247.MAA29436@godzilla.zeta.org.au> To: asami@cs.berkeley.edu, wpaul@freefall.cdrom.com Subject: Re: cvs commit: src/lib/libss Makefile Cc: hackers@FreeBSD.org Sender: hackers-owner@FreeBSD.org Precedence: bulk > * Repeat after me kids: "I will not try to install files into a directory > * when I'm not sure whether or not that directory exists." >I've been bitten by this several times. Maybe we can make a new flag >to cp/install that says "the destination should be a directory...if >not, report an error". >Then we can put this flag to the master Makefile or /etc/make.conf and >be all happy (or at least know it as soon as it fails). Just use a slash after the directory name: install -c /etc/passwd /tmp/nonesuch/ Bruce