From 8eb1df69ab22829d61366e7d8e4eca6d7ed13657 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 1 Oct 2017 16:45:49 +0200 Subject: fixup! Convert flashrom to git Note the non-strict POSIX compatibility in getrevision.sh and a add missing full stop*.* ;) Change-Id: Ia60186f783067ba084439a8ef701dc8f4c0072f0 Signed-off-by: Stefan Tauner Reviewed-on: https://review.coreboot.org/21828 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- util/getrevision.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/getrevision.sh b/util/getrevision.sh index 0f975462..9dd4dbe1 100755 --- a/util/getrevision.sh +++ b/util/getrevision.sh @@ -1,4 +1,5 @@ #!/bin/sh +# NB: Supposed to be POSIX compatible but at least the usage of 'local' is not. # # This file is part of the flashrom project. # @@ -78,7 +79,7 @@ git_url() { echo "$(git ls-remote --exit-code --get-url ${target%/*}) ${target#*/}" } -# Returns a string indicating where others can get the current source code (excluding uncommitted changes) +# Returns a string indicating where others can get the current source code (excluding uncommitted changes). # Takes one optional argument: the path to inspect scm_url() { local url= -- cgit v1.2.3