[m-dev.] prepare.sh tests for the wrong thing

Paul Bone paul at bone.id.au
Sat Oct 3 14:51:18 AEST 2015


On Sat, Oct 03, 2015 at 02:09:36PM +1000, Zoltan Somogyi wrote:
> After doing a "git pull" of the recent changes to boehm_gc,
> my workspace's boehm_gc directory still contained a bunch of files
> and directories. The prepare.sh script checks whether it needs to
> set up submodules, but gets the test wrong: it tests for the presence
> of a directory that is present whether or not the submodule has already
> been set up. As a result, prepare.sh does not set up the submodule
> even though it needs to.
> 
> Attached is a file that lists the contents of my workspace's boehm_gc
> directory immediately after the git pull. An "mmake realclean" immediately
> afterward left the boehm_gc directory unchanged.
> 

These are almost certainly all intermediate files, and a quick glance at
your file supports that.  git didn't delete or move them because they're
unversioned.  It's probably easiest to remove the boehm_gc directory
completely and then run ./prepare.



-- 
Paul Bone



More information about the developers mailing list