From 7963001a9c18e160b7a980c228ad64a28e4c15e3 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 26 Aug 2013 18:05:12 -0500 Subject: [PATCH] dev/make-release: change in-correct-directory heuristic Change-Id: If0ee4fb0aea262e1f283e16e85a489d4f806f51b --- dev/make-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/make-release b/dev/make-release index ee4984606..4ecf4da9c 100755 --- a/dev/make-release +++ b/dev/make-release @@ -7,7 +7,7 @@ GetOptions("force" => \$opt_force) or die "Usage: make-release [-f] "; my $version = shift or die "Usage: make-release "; -die "Not being run from root of Camlistore" unless -e ".git" && -d "pkg/blobref"; +die "Not being run from root of Camlistore" unless -e ".git" && -e "pkg/blob/ref.go"; my $cur_branch = `git rev-parse --abbrev-ref HEAD`; chomp $cur_branch;