From b5bc32163ca2aefce4cfb4450579168fd7f588cd Mon Sep 17 00:00:00 2001 From: Timo Juhani Lindfors Date: Tue, 3 Mar 2009 07:10:19 +0000 Subject: kernel.git/build: use "git branch" instead of "git-branch"? Hi, git 1.6.0 in debian unstable does not put "git-branch" to a directory that is in PATH anymore > git-core (1:1.6.0.2-1) experimental; urgency=low > > * new upstream point release. > * debian/git-core.NEWS.Debian: new; mention that most of the programs > now are installed outside the default $PATH; the "git-xyzzy" form > in scripts and on the command line is no longer supported in 1.6.0. so the build script should probably be modified: --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') diff --git a/build b/build index fd989996433..a7d15f71e54 100755 --- a/build +++ b/build @@ -69,7 +69,7 @@ fi # check that we are in a valid branch # -if git-branch | head -n1 | grep -q "* (no branch)"; then +if git branch | head -n1 | grep -q "* (no branch)"; then cat <&2 There is no branch in the local copy of the repository right now! Hint: type git-branch, make sure you are in a valid branch and then try again -- cgit v1.2.3