summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2017-10-01 16:45:49 +0200
committerNico Huber <nico.h@gmx.de>2017-10-05 10:40:08 +0000
commit8eb1df69ab22829d61366e7d8e4eca6d7ed13657 (patch)
treedb7a20661678df0e5aa1e724f53e55241dd13f00
parent9620912607d5e99650624f74545268bba0f310ca (diff)
downloadflashrom-8eb1df69ab22829d61366e7d8e4eca6d7ed13657.tar.gz
flashrom-8eb1df69ab22829d61366e7d8e4eca6d7ed13657.tar.bz2
flashrom-8eb1df69ab22829d61366e7d8e4eca6d7ed13657.zip
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 <stefan.tauner@gmx.at> Reviewed-on: https://review.coreboot.org/21828 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rwxr-xr-xutil/getrevision.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/getrevision.sh b/util/getrevision.sh
index 0f9754625..9dd4dbe1c 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=