Ignore:
Timestamp:
Jun 30, 2009, 5:32:59 PM (16 years ago)
Author:
Silvan Scherrer
Message:

fix swat, so that it works even when samba is not in x:\samba

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/web/startstop.c

    r172 r292  
    2121#ifdef __OS2__
    2222#include "process.h"
    23 #define SWAT_HELPER(WHAT, WHO)        slprintf(binfile, sizeof(pstring) - 1, "swathelp.cmd"); \
     23#define SWAT_HELPER(WHAT, WHO)        slprintf(binfile, sizeof(pstring) - 1, "%s/swathelp.cmd", getcwd(NULL, _MAX_PATH)); \
    2424                                      int rc; \
    2525                                      rc=spawnl(P_NOWAIT, binfile, binfile, #WHAT, #WHO, NULL);
Note: See TracChangeset for help on using the changeset viewer.