scripts/repover.sh: fix with new tree layout
This commit is contained in:
parent
43a359c58d
commit
fc61c9354c
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ REPO_MAJOR=$(echo $REPO_VER | tr '.' ' ' | awk '{ print $1; }')
|
||||||
REPO_MINOR=$(echo $REPO_VER | tr '.' ' ' | awk '{ print $2; }')
|
REPO_MINOR=$(echo $REPO_VER | tr '.' ' ' | awk '{ print $2; }')
|
||||||
REPO_MICRO=$(echo $REPO_VER | tr '.' ' ' | awk '{ print $3; }')
|
REPO_MICRO=$(echo $REPO_VER | tr '.' ' ' | awk '{ print $3; }')
|
||||||
|
|
||||||
LOCAL_VER=$(cat pkgs/$1/build.sh | grep 'pkgver=' | tr '=' ' ' | awk '{ print $2; }')
|
LOCAL_VER=$(cat */$1/build.sh | grep 'pkgver=' | tr '=' ' ' | awk '{ print $2; }')
|
||||||
|
|
||||||
LOCAL_MAJOR=$(echo $LOCAL_VER | tr '.' ' ' | awk '{ print $1; }')
|
LOCAL_MAJOR=$(echo $LOCAL_VER | tr '.' ' ' | awk '{ print $1; }')
|
||||||
LOCAL_MINOR=$(echo $LOCAL_VER | tr '.' ' ' | awk '{ print $2; }')
|
LOCAL_MINOR=$(echo $LOCAL_VER | tr '.' ' ' | awk '{ print $2; }')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue