From owner-freebsd-current Sun Jul 21 23:28:46 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA19604 for current-outgoing; Sun, 21 Jul 1996 23:28:46 -0700 (PDT) Received: from meno.uchicago.edu (meno.uchicago.edu [128.135.21.34]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA19599 for ; Sun, 21 Jul 1996 23:28:44 -0700 (PDT) Received: from meno.uchicago.edu (localhost [127.0.0.1]) by meno.uchicago.edu (8.7.5/8.7.3) with ESMTP id BAA13190; Mon, 22 Jul 1996 01:30:44 -0500 (CDT) Message-Id: <199607220630.BAA13190@meno.uchicago.edu> To: "Charles C. Figueiredo" cc: current@freebsd.org, spfarrel@midway.uchicago.edu Subject: Re: Make world In-reply-to: Your message of "Mon, 22 Jul 1996 21:34:29 EDT." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13186.838017040.1@meno.uchicago.edu> Date: Mon, 22 Jul 1996 01:30:40 -0500 From: steve farrell Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk i thought i was going to tear my hair out over this same problem... and then one day it dissappeared. it think it was with my last sup, where i noticed the makefiles (/usr/src/share/mk/*) seemed to have been redone. (the problem, incidentally, is that it had stuff like (this is out of memory): @if test -d ${SOMEVARIABLE}; then \ rm -rf ${SOMEVARIABLE} which seems fine, but if you look at the behavoir or test, it seems rather unexpected... bash$ if test -d; then echo hi; fi hi i would have thought that the directory would return false, but it returns true... =(. so this is what happens in the makefile: bash$: rm -rf usage: rm [-f | -i] [-dPRr] file ... anyway, taking a glance at then new bsd.mk.obj, make cleanobj (the routine that was causing this problem) has been cleaned up to: rm -f -r ${.CURDIR}/${__objdir} anyway, this all seemed rather odd to me b/c i couldn't believe that -current was that broken... i knew there had to be a way around it ( i tried changing my /bin/sh, which i usually keep as a static bash, for example) but never found one besides most heinous hacking of the makefile. oh well.. it's fixed now =). --steve farrell > > > Hi, > > my make worlds are failing with: >cd /usr/src && make cleandir >===> include >usage: rm [-f | -i] [-dPRr] file ... >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. > > I thought maybe it was a typo in the makefile, but I didn't find any. >Any idea what's wrong? > >Charles > > >------------------------------------------------------------------------------ >Charles C. Figueiredo CCF13 marxx@doomsday.org >------------------------------------------------------------------------------ >