aboutsummaryrefslogtreecommitdiff
path: root/install-win32/getgui
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32/getgui')
-rw-r--r--install-win32/getgui4
1 files changed, 2 insertions, 2 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