Commit 3c3a53b3 authored by Matthew Smith's avatar Matthew Smith
Browse files

Fix syntax bug in build-debian-client

parent b5c6517d
......@@ -30,7 +30,7 @@ mkdir -p DEBIAN etc/openvpn
ask_key_questions
FILEBASE=echo "${OVPN_ORGNICK}-${OVPN_COMMONNAME}"
FILEBASE=`echo "${OVPN_ORGNICK}-${OVPN_COMMONNAME}"`
# deb files can only contain a-z and - so lets just fix the deb file, the name would need to be pretty screwed to fail or duplicate
# error message is "dpkg-deb: package name has characters that aren't lowercase alphanums or `-+.'"
DEBFILE="`echo openvpn-client-${FILEBASE}.deb | tr [:upper:] [:lower:] | sed -e 's/[^a-z0-9._]//g'`"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment