summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/openvpn-otp/build-openvpn-otp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openvpn-otp/build-openvpn-otp.sh b/packages/openvpn-otp/build-openvpn-otp.sh
index ecae0f18..6870db64 100755
--- a/packages/openvpn-otp/build-openvpn-otp.sh
+++ b/packages/openvpn-otp/build-openvpn-otp.sh
@@ -31,6 +31,6 @@ fpm --input-type dir --output-type deb --name openvpn-otp \
--maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
--description "OpenVPN OTP Authentication support." \
--depends openvpn --architecture $(dpkg --print-architecture) \
- --version $(git describe --tags --always) --deb-compression gz usr
+ --version $(git describe --tags --always | cut -c2-) --deb-compression gz usr
cp *.deb ${CWD}