Bug #2720 ยป hts_bug2720.diff
support/version | ||
---|---|---|
17 | 17 |
VER=$(echo $VER | sed "s/^v//" | sed "s/-\([0-9]*\)-\(g[0-9a-f]*\)/.\1~\2/") |
18 | 18 |
elif [ -f "$(dirname "$0")/../debian/changelog" ]; then |
19 | 19 |
VER=$(head -1 "$(dirname "$0")/../debian/changelog" | awk '{ print $2 }' | tr -d '()' | cut -d '-' -f 1) |
20 |
elif [ -r "$(dirname "$0")/../rpm/version" ]; then
|
|
21 |
VER=$(cat "$(dirname "$0")/../rpm/version")
|
|
20 |
elif [ -r "$(dirname "$0")/rpm/version" ]; then |
|
21 |
VER=$(cat "$(dirname "$0")/rpm/version") |
|
22 | 22 |
else |
23 | 23 |
VER="0.0.0~unknown" |
24 | 24 |
fi |