]> arthur.barton.de Git - bup.git/commit
Makefile: fix -j race to create ./bup 0.27-rc3
authorRob Browning <rlb@defaultvalue.org>
Sat, 14 Mar 2015 15:39:19 +0000 (10:39 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 14 Mar 2015 15:42:46 +0000 (10:42 -0500)
commitacaabbfb0a14c3c981e6b9005e0503c46a4e6eca
tree02042c342b03db952c0dae426f7bab3e836c00d5
parent861d5fcb27e163d2b18b784dfd898c1a10d03290
Makefile: fix -j race to create ./bup

Previously the bup target might fail if it was run in parallel
(i.e. during make -j).  Since bup depends on _version.py, which is
phony, that wasn't unlikely.

Fix the race by ignoring errors while creating the symlink, and then
testing for existence afterward.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
Makefile