summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2007-11-02 21:35:51 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2007-11-02 21:35:51 +0100
commit7d6360f27d3c0c5f8ce5918c8f90ebf2aff8cdcf (patch)
treef4867b2e281bca91cb87e900723446b1640c0ca3
parent873db0978876c509afb3b7090bfaff93227f05d9 (diff)
downloadndim-git-utils-7d6360f27d3c0c5f8ce5918c8f90ebf2aff8cdcf.tar.gz
ndim-git-utils-7d6360f27d3c0c5f8ce5918c8f90ebf2aff8cdcf.tar.xz
ndim-git-utils-7d6360f27d3c0c5f8ce5918c8f90ebf2aff8cdcf.zip
Removed two silent error aborts.
-rwxr-xr-xsrc/git-amb3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/git-amb b/src/git-amb
index cd4bf21..433667a 100755
--- a/src/git-amb
+++ b/src/git-amb
@@ -46,7 +46,6 @@ amb_detect_configure() {
done
test -z "${configure_ac}" && die "configure.{ac,in} not found"
configure="$top_srcdir/configure"
- test -x "$configure"
}
cond_cat_path() {
@@ -70,7 +69,7 @@ amb_init() {
else
die "Invalid branch \"$1\" given."
fi
- test "x.git" = "x$(basename "$GIT_DIR")"
+ test "x.git" = "x$(basename "$GIT_DIR")" || die "GIT_DIR=$GIT_DIR is not foo/.git"
top_srcdir="$(cd_to_toplevel && pwd)"
tmp="$(git-config amb.builddir)" || tmp="$GIT_DIR/amb/build"