aboutsummaryrefslogtreecommitdiff
path: root/install-win32
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install-win32/getgui4
-rw-r--r--install-win32/maketext2
2 files changed, 3 insertions, 3 deletions
diff --git a/install-win32/getgui b/install-win32/getgui
index 03f68a8..b53a8f7 100644
--- a/install-win32/getgui
+++ b/install-win32/getgui
@@ -7,7 +7,7 @@
GUI="$OPENVPN_GUI_DIR/$OPENVPN_GUI"
-if [ -e "$GUI" ]; then
+if [ -f "$GUI" ]; then
mkdir -p $GENOUT/bin &>/dev/null
cp $GUI $GENOUT/bin
if [ -d "$SIGNTOOL" ]; then
@@ -15,7 +15,7 @@ if [ -e "$GUI" ]; then
fi
fi
-if [ -e "$GENOUT/bin/$OPENVPN_GUI" ]; then
+if [ -f "$GENOUT/bin/$OPENVPN_GUI" ]; then
echo '!define OPENVPN_GUI_DEFINED' >autodefs/guidefs.nsi
else
cat /dev/null >autodefs/guidefs.nsi
diff --git a/install-win32/maketext b/install-win32/maketext
index cf59b53..9a94a81 100644
--- a/install-win32/maketext
+++ b/install-win32/maketext
@@ -41,7 +41,7 @@ cp install-win32/setpath.nsi $n
cp install-win32/GetWindowsVersion.nsi $n
if [ -n "$EXTRACT_FILES" ]; then
- cp install-win32/MultiFileExtract.nsi $n
+ cp "$EXTRACT_FILES/MultiFileExtract.nsi" $n
fi
# get OpenVPN client config files