Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
S1OVS
openvpn-server
Commits
1b373c38
Commit
1b373c38
authored
Jun 01, 2018
by
Matthew Smith
Browse files
Fix bug in build scripts and fix up messages
parent
8c77ef51
Changes
3
Hide whitespace changes
Inline
Side-by-side
scripts/build-debian-client
View file @
1b373c38
...
...
@@ -63,7 +63,7 @@ popd >/dev/null
dpkg-deb
--build
$WORKDIR
./
$DEBFILE
||
exit
if
[
-z
"
$CACHE_BUILDS
"
]
;
then
echo
"Your OpenVPN Debian client has been built
$DEBFILE
"
echo
"Your OpenVPN Debian client has been built
in
`
pwd
`
/
$DEBFILE
"
else
mv
./
${
DEBFILE
}
"
${
CACHE_BUILDS
}
/
${
DEBFILE
}
"
echo
"Your OpenVPN Debian client has been built in
${
CACHE_BUILDS
}
/
$DEBFILE
"
...
...
scripts/build-generic-client
View file @
1b373c38
...
...
@@ -61,9 +61,10 @@ OVPNFILE="openvpn-${FILEBASE}.ovpn"
cp
${
WORKDIR
}
/
${
FILEBASE
}
.ovpn ./
$OVPNFILE
if
[
-z
"
$CACHE_BUILDS
"
]
;
then
cp
${
WORKDIR
}
/
${
FILEBASE
}
.ovpn ./
$OVPNFILE
echo
"Your OpenVPN generic client has been built in
${
OVPNFILE
}
"
else
mv
${
FILEBASE
}
.ovpn
"
${
CACHE_BUILDS
}
/
${
OVPNFILE
}
"
cp
${
WORKDIR
}
/
${
FILEBASE
}
.ovpn
"
${
CACHE_BUILDS
}
/
${
OVPNFILE
}
"
echo
"Your OpenVPN generic client has been built in
${
CACHE_BUILDS
}
/
${
OVPNFILE
}
"
fi
rm
-rf
$WORKDIR
...
...
scripts/build-windows-client
View file @
1b373c38
...
...
@@ -50,7 +50,7 @@ popd >/dev/null
if
[
-z
"
$CACHE_BUILDS
"
]
;
then
mv
$WORKDIR
/sol1-openvpn-deploy.exe ./openvpn-
${
FILEBASE
}
.exe
echo
"Your OpenVPN Windows client has been built in openvpn-
${
FILEBASE
}
.exe"
echo
"Your OpenVPN Windows client has been built in
`
pwd
`
/
openvpn-
${
FILEBASE
}
.exe"
else
mv
$WORKDIR
/sol1-openvpn-deploy.exe
"
${
CACHE_BUILDS
}
/openvpn-
${
FILEBASE
}
.exe"
echo
"Your OpenVPN Windows client has been built in
${
CACHE_BUILDS
}
/openvpn-
${
FILEBASE
}
.exe"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment