dev/make-release: change in-correct-directory heuristic

Change-Id: If0ee4fb0aea262e1f283e16e85a489d4f806f51b
This commit is contained in:
Brad Fitzpatrick 2013-08-26 18:05:12 -05:00
parent 6489b9f7ce
commit 7963001a9c
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ GetOptions("force" => \$opt_force) or die "Usage: make-release [-f] <version>";
my $version = shift or die "Usage: make-release <version>";
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;