Ignore:
Timestamp:
Jun 12, 2018, 5:01:06 PM (7 years ago)
Author:
Herwig Bauernfeind
Message:

Unify debug formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/shared/cltinit.vrs

    r1027 r1055  
    111111    end
    112112
    113     if samba.!smbclientexe = "" then call _ErrorBinaryNotFound " could not find smbclient.exe!"
     113    if samba.!smbclientexe = "" then call _ErrorBinaryNotFound "Could not find \smbclient.exe!"
    114114
    115115    samba.!bin = VRParseFileName(samba.!smbclientexe,'DP')
     
    118118    /* net.exe */
    119119    samba.!netexe = samba.!bin'\net.exe'
    120     if \VRFileExists(samba.!netexe) then call _ErrorBinaryNotFound " could not find net.exe!"
     120    if \VRFileExists(samba.!netexe) then call _ErrorBinaryNotFound "Could not find \net.exe!"
    121121    IF options.!debug == 1 THEN say '  net.exe        = "'samba.!netexe'"'
    122122
    123123    /* testparm.exe */
    124124    samba.!testparmexe = samba.!bin'\testparm.exe'
    125     if \VRFileExists(samba.!testparmexe) then call _ErrorBinaryNotFound " could not find testparm.exe!"
     125    if \VRFileExists(samba.!testparmexe) then call _ErrorBinaryNotFound "Could not find \testparm.exe!"
    126126    IF options.!debug == 1 THEN say '  testparm.exe   = "'samba.!testparmexe'"'
    127127
    128128    /* smbtree.exe */
    129129    samba.!smbtreeexe = samba.!bin'\smbtree.exe'
    130     if \VRFileExists(samba.!smbtreeexe) then call _ErrorBinaryNotFound " could not find smbtree.exe!"
     130    if \VRFileExists(samba.!smbtreeexe) then call _ErrorBinaryNotFound "Could not find \smbtree.exe!"
    131131    IF options.!debug == 1 THEN say '  smbtree.exe    = "'samba.!smbtreeexe'"'
    132132
    133133    /* nmblookup.exe */
    134134    samba.!nmblookupexe = samba.!bin'\nmblookup.exe'
    135     if \VRFileExists(samba.!nmblookupexe) then call _ErrorBinaryNotFound " could not find nmblookup.exe!"
     135    if \VRFileExists(samba.!nmblookupexe) then call _ErrorBinaryNotFound "Could not find \nmblookup.exe!"
    136136    IF options.!debug == 1 THEN say '  nmblookup.exe  = "'samba.!nmblookupexe'"'
    137137
    138138    /* smbspool.exe */
    139139    samba.!smbspoolexe = samba.!bin'\smbspool.exe'
    140     if \VRFileExists(samba.!smbspoolexe) then call _ErrorBinaryNotFound " could not find smbspool.exe!"
     140    if \VRFileExists(samba.!smbspoolexe) then call _ErrorBinaryNotFound "Could not find \smbspool.exe!"
    141141    IF options.!debug == 1 THEN say '  smbspool.exe   = "'samba.!smbspoolexe'"'
    142142
    143143    /* rpcclient.exe */
    144144    samba.!rpcclientexe = samba.!bin'\rpcclient.exe'
    145     if \VRFileExists(samba.!rpcclientexe) then call _ErrorBinaryNotFound " could not find rpcclient.exe!"
     145    if \VRFileExists(samba.!rpcclientexe) then call _ErrorBinaryNotFound "Could not find \rpcclient.exe!"
    146146    IF options.!debug == 1 THEN say '  rpcclient.exe  = "'samba.!rpcclientexe'"'
    147147
    148148    /* smbcacls.exe */
    149149    samba.!smbcaclsexe = samba.!bin'\smbcacls.exe'
    150     if \VRFileExists(samba.!smbcaclsexe) then call _ErrorBinaryNotFound " could not find smbcacls.exe!"
     150    if \VRFileExists(samba.!smbcaclsexe) then call _ErrorBinaryNotFound "Could not find \smbcacls.exe!"
    151151    IF options.!debug == 1 THEN say '  smbcacls.exe  = "'samba.!smbcaclsexe'"'
    152152
Note: See TracChangeset for help on using the changeset viewer.