diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2016-03-18 20:03:09 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2016-03-18 20:03:09 +0000 |
commit | 3bebe7293bdcec4fe234f552e4223e07f34c4613 (patch) | |
tree | 441a6072996940eb112c1cbfdd9f818d1781c000 /share/mk/meta.stage.mk | |
parent | 4a5202f9c4e3a2e810b5ac5f87f87518ff56c6a5 (diff) | |
parent | b7ff84ad756783ecadb3ce2c732c71c4c7d8e1f7 (diff) | |
download | src-3bebe7293bdcec4fe234f552e4223e07f34c4613.tar.gz src-3bebe7293bdcec4fe234f552e4223e07f34c4613.zip |
Notes
Diffstat (limited to 'share/mk/meta.stage.mk')
-rw-r--r-- | share/mk/meta.stage.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/meta.stage.mk b/share/mk/meta.stage.mk index e31582837359..0baddba1dc7b 100644 --- a/share/mk/meta.stage.mk +++ b/share/mk/meta.stage.mk @@ -1,5 +1,5 @@ # $FreeBSD$ -# $Id: meta.stage.mk,v 1.43 2016/02/24 18:46:32 sjg Exp $ +# $Id: meta.stage.mk,v 1.44 2016/03/16 18:21:23 sjg Exp $ # # @(#) Copyright (c) 2011, Simon J. Gerraty # @@ -59,7 +59,7 @@ GENDIRDEPS_FILTER += Nnot-empty-is-important \ LN_CP_SCRIPT = LnCp() { \ rm -f $$2 2> /dev/null; \ - ln $$1 $$2 2> /dev/null || \ + { [ -z "$$mode" ] && ln $$1 $$2 2> /dev/null; } || \ cp -p $$1 $$2; } # a staging conflict should cause an error |