X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ftincctl.c;h=956771f7a4d0909cb580bc4d2c5ce2b9c39e042e;hb=82575bd44dc02bd1febd265c1db0f05b298329af;hp=55e14e53657dcacb3b835a64c0907394445790a9;hpb=a38e0d621397d6d69c939ccc287d5a803b668195;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 55e14e53..956771f7 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -39,12 +39,6 @@ #include "tincctl.h" #include "top.h" -#ifdef HAVE_MINGW -#define SCRIPTEXTENSION ".bat" -#else -#define SCRIPTEXTENSION "" -#endif - static char **orig_argv; static int orig_argc; @@ -71,6 +65,8 @@ static bool force = false; bool tty = true; bool confbasegiven = false; bool netnamegiven = false; +char *scriptinterpreter = NULL; +char *scriptextension = ""; #ifdef HAVE_MINGW static struct WSAData wsa_state;