From: Michael Tremer Date: Tue, 12 May 2009 12:34:16 +0000 (+0200) Subject: Fixed buidspy things... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d1fa8fcb90c59badceb86ae316433f1e29545a4;p=ipfire-3.x.git Fixed buidspy things... --- diff --git a/tools/make-buildspy b/tools/make-buildspy index 2c1c7af68..f3993ef93 100755 --- a/tools/make-buildspy +++ b/tools/make-buildspy @@ -54,6 +54,7 @@ build_spy_send_profile() { break fi done + build_spy rev ${GIT_REV} } if [ "$(basename $0)" == "make-buildspy" ]; then diff --git a/tools/make-constants b/tools/make-constants index 11f466e19..e5fced05f 100644 --- a/tools/make-constants +++ b/tools/make-constants @@ -41,7 +41,7 @@ KVER=$(grep --max-count=1 PKG_VER lfs/linux | awk '{ print $3 }' | tr -d '\n'; g MACHINE_REAL=$(uname -m) # Read in information from git -GIT_REV=$(git rev-list HEAD | head -n 1) +GIT_REV=$(git rev-list --max-count=1 HEAD) GIT_TAG=$(git tag 2>/dev/null | tail -n 1) # Embedded build diff --git a/tools/make-git b/tools/make-git index 306365bdd..a8afd7937 100755 --- a/tools/make-git +++ b/tools/make-git @@ -72,6 +72,7 @@ git_pull() { exiterror "\"$REPLY\" is not a valid answer." fi fi + GIT_REV=$(git rev-list --max-count=1 HEAD) } git_push() { diff --git a/tools/make-interactive b/tools/make-interactive index ef3a063da..4bb4f2efd 100644 --- a/tools/make-interactive +++ b/tools/make-interactive @@ -75,6 +75,7 @@ buildspy|bs) build_spy exit ;; send|profile) + build_spy start build_spy_send_profile ;; *)