summaryrefslogtreecommitdiff
path: root/packages/openvpn-otp/build-openvpn-otp.sh
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2021-09-28 13:50:46 +0200
committerGitHub <noreply@github.com>2021-09-28 13:50:46 +0200
commite9ab597640fc7784cd85a6db84dd90f95dd552ef (patch)
tree3f8b0da791f134b9285f76d23c697b0df93867fe /packages/openvpn-otp/build-openvpn-otp.sh
parent074d033d38271cbd16a30cc1048f2aeb0027652c (diff)
downloadvyos-build-e9ab597640fc7784cd85a6db84dd90f95dd552ef.tar.gz
vyos-build-e9ab597640fc7784cd85a6db84dd90f95dd552ef.zip
update release version
do not remove current directory
Diffstat (limited to 'packages/openvpn-otp/build-openvpn-otp.sh')
-rwxr-xr-xpackages/openvpn-otp/build-openvpn-otp.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/openvpn-otp/build-openvpn-otp.sh b/packages/openvpn-otp/build-openvpn-otp.sh
index 6cd8ca97..ecae0f18 100755
--- a/packages/openvpn-otp/build-openvpn-otp.sh
+++ b/packages/openvpn-otp/build-openvpn-otp.sh
@@ -1,7 +1,6 @@
#!/bin/sh
-CWD=$(pwd)
set -e
-
+CWD=$(pwd)
SRC=openvpn-otp
if [ ! -d ${SRC} ]; then
@@ -35,7 +34,3 @@ fpm --input-type dir --output-type deb --name openvpn-otp \
--version $(git describe --tags --always) --deb-compression gz usr
cp *.deb ${CWD}
-
-# do not confuse Jenkins by providing multiple openvpn-otp deb files
-cd ${CWD}
-rm -rf ${SRC}