From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: PATCH: Re: pws-19 + all patches: ``cp -f'' not always supportes
Date: Sat, 29 May 1999 10:06:52 +0000 [thread overview]
Message-ID: <990529100652.ZM7530@candle.brasslantern.com> (raw)
In-Reply-To: <006d01bea84a$8406d880$21c9ca95@mow.siemens.ru>
In-Reply-To: <199905280014.UAA21745@ocalhost>
On May 27, 6:09pm, Andrej Borsenkow wrote:
} Subject: pws-19 + all patches: ``cp -f'' not always supportes
}
} Our cp does not support -f.
}
} Is it possible to do without it?
On May 27, 8:14pm, Timothy J Luoma wrote:
} Subject: Re: pws-19 + all patches: ``cp -f'' not always supportes
}
} why not just use 'rm -f' before the 'cp'
Indeed, why not.
} I'm not actually clear on when the '-f' flag would be needed....
The file is a symlink? Somebody else owns it, but the build directory is
writable by you?
I'm not sure why it needs to be "cp" though. Why not "mv -f" instead?
However, this patch just does the "rm -f" thing.
Index: configure.in
===================================================================
--- configure.in 1999/05/29 10:02:04 1.20
+++ configure.in 1999/05/29 10:02:17
@@ -1298,7 +1298,8 @@
dnl The standard config.status is missing some essential features.
dnl So add them now.
-[cp -f $CONFIG_STATUS $CONFIG_STATUS.old
+[rm -f $CONFIG_STATUS.old
+ cp $CONFIG_STATUS $CONFIG_STATUS.old
sed '1,$s@^\( *ac_file_inputs=\).*$@\1`echo $ac_file_in | sed -e "s%^%:%" -e "s%:\\([^!]\\)% $ac_given_srcdir/\\1%g" -e "s%:!% %"`@' \
$CONFIG_STATUS.old >$CONFIG_STATUS
rm -f $CONFIG_STATUS.old]
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
prev parent reply other threads:[~1999-05-29 10:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-27 14:09 Andrej Borsenkow
1999-05-28 0:14 ` Timothy J Luoma
1999-05-29 10:06 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=990529100652.ZM7530@candle.brasslantern.com \
--to=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).