summaryrefslogtreecommitdiff
path: root/packages/openvpn-otp/build-openvpn-otp.sh
diff options
context:
space:
mode:
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}