summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorLeif Lindholm <leif.lindholm@linaro.org>2017-12-01 14:01:12 +0000
committerLeif Lindholm <leif.lindholm@linaro.org>2017-12-01 14:01:12 +0000
commitc4f1fe406396f5984ec9385b542e810ca0b09c43 (patch)
treef7115df97baa7a7f4ee5a602288715c3d852522d /build.sh
parent9a1aaa2e15860605d59e23305d60219db1e9c76f (diff)
build.sh: print final repo revisions
Whether patching or not, print the final top commit. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 8ca6ee6..c9be6c0 100755
--- a/build.sh
+++ b/build.sh
@@ -115,6 +115,7 @@ patch_repo()
PATCH_DIR="$PWD/patches"
TARGET_DIR="$PWD/$1"
if [ ! -d "patches/$1" ]; then
+ git rev-parse HEAD
return
fi
@@ -124,6 +125,7 @@ patch_repo()
echo git am --keep-cr $file
git am --keep-cr $file
done
+ git rev-parse HEAD
cd -
}