aboutsummaryrefslogtreecommitdiff
path: root/install-win32/makeservice
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/makeservice')
-rw-r--r--install-win32/makeservice4
1 files changed, 3 insertions, 1 deletions
diff --git a/install-win32/makeservice b/install-win32/makeservice
index 688e0f5..647e178 100644
--- a/install-win32/makeservice
+++ b/install-win32/makeservice
@@ -24,7 +24,9 @@ if [ -d "$SVC_TEMPLATE" ] ; then
# copy service to GENOUT/bin
mkdir $GENOUT/bin &>/dev/null
cp service-win32/${PRODUCT_UNIX_NAME}serv.exe $GENOUT/bin
- strip $GENOUT/bin/${PRODUCT_UNIX_NAME}serv.exe
+ if [ -z "$NO_STRIP" ]; then
+ strip $GENOUT/bin/${PRODUCT_UNIX_NAME}serv.exe
+ fi
else
echo OpenVPN service not built -- template directory $SVC_TEMPLATE NOT FOUND
fi