dnsmasq: clean up white space in dnsmasq.init
[openwrt/staging/lynxis/omap.git] / scripts / getver.sh
index d5f29864b57b24b2dab693ad88c58da4b4dcc623..ecf048f4c1c88b308295e5d9d79e34bc2f70a12e 100755 (executable)
@@ -40,7 +40,7 @@ try_git() {
                        REV="${UPSTREAM_REV}+$((REV - UPSTREAM_REV))"
                fi
 
-               REV="${REV:+r$REV}"
+               REV="${REV:+r$REV-$(git log --format="%h" -1)}"
                ;;
        esac