Signed-off-by: Matthias Schiffer <mschif...@universe-factory.net>
---
 scripts/getver.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/getver.sh b/scripts/getver.sh
index f6d18bb3a3..30cf32ed14 100755
--- a/scripts/getver.sh
+++ b/scripts/getver.sh
@@ -10,7 +10,7 @@ get_branch() {
 }
 
 try_version() {
-       [ -f version ] || return 1
+       [ -z "$GET_REV" -a -f version ] || return 1
        REV="$(cat version)"
        [ -n "$REV" ]
 }
-- 
2.13.2


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to