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/sambainit.vrs

    r1027 r1055  
    119119    end
    120120
    121     if samba.!smbd = "" then call _ErrorBinaryNotFound 'Could not find smbd.exe!'
    122 
     121    if samba.!smbd = "" then call _ErrorBinaryNotFound 'Could not find "\smbd.exe"!'
    123122
    124123    samba.!bin = VRParseFileName(samba.!smbd,'DP')
     
    130129    if \VRFileExists(samba.!smbcmd) then do
    131130        samba.!smbcmd = samba.!bin'\smb.cmd'
    132         if \VRFileExists(samba.!smbcmd) then call _ErrorBinaryNotFound 'Could not find smb.cmd!'
     131        if \VRFileExists(samba.!smbcmd) then call _ErrorBinaryNotFound 'Could not find "\smb.cmd"!'
    133132    end
    134133    IF options.!debug == 1 then say '  smb.cmd        = "'samba.!smbcmd'"'
     
    181180    /* smbspool.exe */
    182181    samba.!smbspoolexe = samba.!bin'\smbspool.exe'
    183     if \VRFileExists(samba.!smbspoolexe) then call _ErrorBinaryNotFound " could not find smbspool.exe!"
     182    if \VRFileExists(samba.!smbspoolexe) then call _ErrorBinaryNotFound 'Could not find "\smbspool.exe"!'
    184183    IF options.!debug == 1 THEN say '  smbspool.exe   = "'samba.!smbspoolexe'"'
    185184
    186185    /* rpcclient.exe */
    187186    samba.!rpcclientexe = samba.!bin'\rpcclient.exe'
    188     if \VRFileExists(samba.!rpcclientexe) then call _ErrorBinaryNotFound " could not find rpcclient.exe!"
     187    if \VRFileExists(samba.!rpcclientexe) then call _ErrorBinaryNotFound 'Could not find "\rpcclient.exe"!'
    189188    IF options.!debug == 1 THEN say '  rpcclient.exe  = "'samba.!rpcclientexe'"'
    190189
    191190    /* smbcacls.exe */
    192191    samba.!smbcaclsexe = samba.!bin'\smbcacls.exe'
    193     if \VRFileExists(samba.!smbcaclsexe) then call _ErrorBinaryNotFound " could not find smbcacls.exe!"
     192    if \VRFileExists(samba.!smbcaclsexe) then call _ErrorBinaryNotFound 'Could not find "\smbcacls.exe"!'
    194193    IF options.!debug == 1 THEN say '  smbcacls.exe  = "'samba.!smbcaclsexe'"'
    195194
Note: See TracChangeset for help on using the changeset viewer.