From: lufia <lufia@xxxxxxxxx> Plan 9 don't have expr(1). Signed-off-by: lufia <lufia@xxxxxxxxx> --- GIT-VERSION-GEN | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index a0766f64ed..754d4486f5 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -26,7 +26,7 @@ else VN="$DEF_VER" fi -VN=$(expr "$VN" : v*'\(.*\)') +VN=$(echo "$VN" | sed 's/^v*//') if test -r $GVF then -- gitgitgadget