]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed buidspy things...
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 May 2009 12:34:16 +0000 (14:34 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 May 2009 12:34:16 +0000 (14:34 +0200)
tools/make-buildspy
tools/make-constants
tools/make-git
tools/make-interactive

index 2c1c7af689cfcc49e1c9cc9dc928818aee8f9a77..f3993ef93a54f72cd113cbc3819d7f96d727b02c 100755 (executable)
@@ -54,6 +54,7 @@ build_spy_send_profile() {
                        break
                fi
        done
+       build_spy rev ${GIT_REV}
 }
 
 if [ "$(basename $0)" == "make-buildspy" ]; then
index 11f466e1910a64b85deae52eada4d580c4cde1a6..e5fced05ff108088c9f6b0a1894115ea6f86c98a 100644 (file)
@@ -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
index 306365bdd31a4c2a1871c78900358c27bb7e76c1..a8afd79378831628fa6e91a9fd797f266d4f5378 100755 (executable)
@@ -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() {
index ef3a063da05befafde58dea5caea9383f7066cf8..4bb4f2efd835776b8156175da593aecf20bb910f 100644 (file)
@@ -75,6 +75,7 @@ buildspy|bs)
                        build_spy exit
                        ;;
                send|profile)
+                       build_spy start
                        build_spy_send_profile
                        ;;
                *)