[m-rev.] diff: Fix prepare.sh

Paul Bone paul at bone.id.au
Mon Oct 5 12:24:47 AEDT 2015


Fix prepare.sh

Make prepare.sh test for the presence of boehm_gc/.git rather than
boehm_gc/libatomic_ops

prepare.sh:
    As above.
---
 prepare.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prepare.sh b/prepare.sh
index 675e191..3eaa5ad 100755
--- a/prepare.sh
+++ b/prepare.sh
@@ -2,7 +2,7 @@
 # This script should be run in a fresh git checkout in order to initialise
 # the necessary git submodules and produce the configure script.
 
-if [ ! -e boehm_gc/libatomic_ops ]; then
+if [ ! -e boehm_gc/.git ]; then
     echo "Setting up submodules"
     if git submodule --quiet init; then
         git submodule update --remote --checkout
-- 
2.5.1




More information about the reviews mailing list