[cmucl-commit] [git] CMU Common Lisp branch RELEASE-20C-BRANCH updated. release-20c-base-8-g8a34f6c

Raymond Toy rtoy at common-lisp.net
Thu Nov 3 05:21:49 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, RELEASE-20C-BRANCH has been updated
       via  8a34f6c1941613826dc33018c0c2eccf7fd0c572 (commit)
      from  d26f843313d53333fc1160a6fef13d6aaba312d3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8a34f6c1941613826dc33018c0c2eccf7fd0c572
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Tue Nov 1 19:24:17 2011 -0700

    Test for directory or file (because that's what -e does).

diff --git a/tools/create-target.sh b/tools/create-target.sh
index b923678..477f636 100755
--- a/tools/create-target.sh
+++ b/tools/create-target.sh
@@ -81,7 +81,7 @@ esac
 diag "Settings: bld_dir=$bld_dir lisp_variant=$lisp_variant ${motif_variant:+motif_variant=$motif_variant}"
 
 # Create a directory tree that mirrors the source directory tree
-[ -d "$bld_dir" ] && quit "Exists: `ls -ld $bld_dir`"
+[ -d "$bld_dir" -o -f "$bld_dir" ] && quit "Exists: `ls -ld $bld_dir`"
 mkdir -p "$bld_dir"
 (cd src && find . -name .git -prune -o -type d -print) | (cd $bld_dir && xargs mkdir -p) ||
 quit "Can't create target directories"

-----------------------------------------------------------------------

Summary of changes:
 tools/create-target.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMU Common Lisp


More information about the cmucl-commit mailing list