Ignore:
Timestamp:
Jun 30, 2009, 5:18:33 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.3.x/source/web/startstop.c

    r246 r289  
    2525#include "process.h"
    2626#define SWAT_HELPER(WHAT, WHO) \
    27         asprintf(&binfile, "%s/swathelp.cmd", get_dyn_SWATDIR()); \
     27        asprintf(&binfile, "%s/swathelp.cmd", getcwd(NULL, _MAX_PATH)); \
    2828        int rc; \
    2929        rc=spawnl(P_NOWAIT, binfile, binfile, #WHAT, #WHO, NULL);
Note: See TracChangeset for help on using the changeset viewer.