mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-27 03:55:36 +00:00
8 lines
250 B
Plaintext
8 lines
250 B
Plaintext
redo-ifchange "$S/$1.in" "$S/oss/version/short.txt"
|
|
read -r pkgver junk <"$S/oss/version/short.txt"
|
|
basever=${pkgver%-*}
|
|
subver=${pkgver#*-}
|
|
sed -e "s/Version: 0.00$/Version: $basever/" \
|
|
-e "s/Release: 0$/Release: $subver/" \
|
|
<"$S/$1.in" >"$3"
|