From b340979a6fa75a0cda0d568f410cabbd50624829 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 26 Feb 2007 09:30:04 +0000
Subject: [PATCH] I have an idea!

Let's use /bin/sh as the default shell for *nix rather than for !(__unix__)

*cough* been there for almost a year now.
---
 src/xpdev/genwrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xpdev/genwrap.c b/src/xpdev/genwrap.c
index ae6af7be25..bfbd0e160f 100644
--- a/src/xpdev/genwrap.c
+++ b/src/xpdev/genwrap.c
@@ -416,7 +416,7 @@ char* DLLCALL os_cmdshell(void)
 {
 	char*	shell=getenv(OS_CMD_SHELL_ENV_VAR);
 
-#if !defined(__unix__)
+#if defined(__unix__)
 	if(shell==NULL)
 #ifdef _PATH_BSHELL
 		shell=_PATH_BSHELL;
-- 
GitLab