Commit 1b373c38 authored by Matthew Smith's avatar Matthew Smith
Browse files

Fix bug in build scripts and fix up messages

parent 8c77ef51
...@@ -63,7 +63,7 @@ popd >/dev/null ...@@ -63,7 +63,7 @@ popd >/dev/null
dpkg-deb --build $WORKDIR ./$DEBFILE || exit dpkg-deb --build $WORKDIR ./$DEBFILE || exit
if [ -z "$CACHE_BUILDS" ] ; then 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 else
mv ./${DEBFILE} "${CACHE_BUILDS}/${DEBFILE}" mv ./${DEBFILE} "${CACHE_BUILDS}/${DEBFILE}"
echo "Your OpenVPN Debian client has been built in ${CACHE_BUILDS}/$DEBFILE" echo "Your OpenVPN Debian client has been built in ${CACHE_BUILDS}/$DEBFILE"
......
...@@ -61,9 +61,10 @@ OVPNFILE="openvpn-${FILEBASE}.ovpn" ...@@ -61,9 +61,10 @@ OVPNFILE="openvpn-${FILEBASE}.ovpn"
cp ${WORKDIR}/${FILEBASE}.ovpn ./$OVPNFILE cp ${WORKDIR}/${FILEBASE}.ovpn ./$OVPNFILE
if [ -z "$CACHE_BUILDS" ]; then if [ -z "$CACHE_BUILDS" ]; then
cp ${WORKDIR}/${FILEBASE}.ovpn ./$OVPNFILE
echo "Your OpenVPN generic client has been built in ${OVPNFILE}" echo "Your OpenVPN generic client has been built in ${OVPNFILE}"
else 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}" echo "Your OpenVPN generic client has been built in ${CACHE_BUILDS}/${OVPNFILE}"
fi fi
rm -rf $WORKDIR rm -rf $WORKDIR
......
...@@ -50,7 +50,7 @@ popd >/dev/null ...@@ -50,7 +50,7 @@ popd >/dev/null
if [ -z "$CACHE_BUILDS" ]; then if [ -z "$CACHE_BUILDS" ]; then
mv $WORKDIR/sol1-openvpn-deploy.exe ./openvpn-${FILEBASE}.exe 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 else
mv $WORKDIR/sol1-openvpn-deploy.exe "${CACHE_BUILDS}/openvpn-${FILEBASE}.exe" 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" echo "Your OpenVPN Windows client has been built in ${CACHE_BUILDS}/openvpn-${FILEBASE}.exe"
......
Markdown is supported
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