diff options
author | tv <tv@pkgsrc.org> | 2005-02-14 16:30:35 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-02-14 16:30:35 +0000 |
commit | ded6da1cc5f9f57bc0e9bd3ff7d5678a196525e1 (patch) | |
tree | 7b269e9d2ba27912f5931d947c37d6b05f106f6d /mk | |
parent | 0b750dbb0bddd62028dfad504c768c8e5e4ea67d (diff) | |
download | pkgsrc-ded6da1cc5f9f57bc0e9bd3ff7d5678a196525e1.tar.gz |
Remove "test ... -ef ...", which is unportable. Currently this is causing
syntax errors (and unchanged example files to be left behind) on Interix;
it probably causes a problem on others.
(This test appears to work around a case where two files were exactly the
same by inode, and have the script *not* delete the file in that case.
I'm not exactly sure why that is desirable at all.)
Diffstat (limited to 'mk')
-rw-r--r-- | mk/install/files | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/install/files b/mk/install/files index 548f1ed84b5..0571708aee8 100644 --- a/mk/install/files +++ b/mk/install/files @@ -1,6 +1,6 @@ #!@SH@ # -# $NetBSD: files,v 1.1 2005/02/02 10:33:01 jlam Exp $ +# $NetBSD: files,v 1.2 2005/02/14 16:30:35 tv Exp $ # # +FILES - reference-counted configuration file management script # @@ -163,7 +163,6 @@ REMOVE) if ${TEST} -f "$preexist"; then : elif ${TEST} -f "$file" -a -f "$f_eg" -a \ - ! "$file" -ef "$f_eg" && \ ${CMP} -s "$file" "$f_eg"; then ${RM} -f "$file" fi |