Changeset 333 for branches/guitools-1.0/shared/sambainit.vrs
- Timestamp:
- Sep 22, 2009, 4:17:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-1.0/shared/sambainit.vrs
r302 r333 123 123 if \VRFileExists(samba.!smbclientexe) then call _ErrorBinaryNotFound "Could not find smbclient.exe!" 124 124 IF options.!debug == 1 THEN say ' smbclient.exe = "'samba.!smbclientexe'"' 125 126 /* nmblookup.exe */ 127 samba.!nmblookupexe = samba.!bin'\nmblookup.exe' 128 if \VRFileExists(samba.!nmblookupexe) then call _ErrorBinaryNotFound "Could not find nmblookup.exe!" 129 IF options.!debug == 1 THEN say ' nmblookup.exe = "'samba.!nmblookupexe'"' 125 130 126 131 /* pwd_mkdb */ … … 265 270 end 266 271 drop old_path 272 273 /* Add binary and tools path to the DPATH variable */ 274 old_dpath = value('DPATH',, 'OS2ENVIRONMENT') 275 if pos(translate(samba.!bin';'),translate(old_dpath)) = 0 then do 276 if samba.!bin = samba.!tools then new_dpath = samba.!bin';' 277 else new_dpath = samba.!bin';'samba.!tools';' 278 ok = value('DPATH', new_dpath || old_dpath, 'OS2ENVIRONMENT') 279 drop new_dpath 280 end 281 drop old_dpath 267 282 268 283 /* Add binary and tools path to the BEGINLIBPATH variable */ … … 275 290 end 276 291 drop old_beginlibpath 292 277 293 278 294 /* Set LIBPATHSTRICT (this is an option - disabled by default) */
Note:
See TracChangeset
for help on using the changeset viewer.