Changeset 243 for trunk/SRC/Utilities
- Timestamp:
- 04/12/07 10:52:32 (17 years ago)
- Location:
- trunk/SRC/Utilities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/createfunc.pro
r242 r243 68 68 cd, current = here 69 69 pathlist = [here, strsplit(!path, path_sep(/search_path),/extract)] 70 inpath = total((file_search(dirname ))[0] EQ pathlist)71 IF inpath EQ 0 THEN !path = !path + path_sep(/search_path) + inpath70 inpath = total((file_search(dirname, /fully_qualify_path))[0] EQ pathlist) 71 IF inpath EQ 0 THEN !path = dirname + path_sep(/search_path) + !path 72 72 ; update the list of .pro and .sav in !PATH 73 73 path_cache, /rebuild -
trunk/SRC/Utilities/createpro.pro
r242 r243 78 78 cd, current = here 79 79 pathlist = [here, strsplit(!path, path_sep(/search_path),/extract)] 80 inpath = total((file_search(dirname ))[0] EQ pathlist)81 IF inpath EQ 0 THEN !path = !path + path_sep(/search_path) + inpath80 inpath = total((file_search(dirname, /fully_qualify_path))[0] EQ pathlist) 81 IF inpath EQ 0 THEN !path = dirname + path_sep(/search_path) + !path 82 82 ; update the list of .pro and .sav in !PATH 83 83 path_cache, /rebuild -
trunk/SRC/Utilities/isadirectory.pro
r237 r243 65 65 ENDIF 66 66 ; 67 directory = file_search(directory, /mark_directory )67 directory = file_search(directory, /mark_directory, /test_directory, /fully_qualify_path) 68 68 IF n_elements(directory) EQ 1 THEN RETURN, directory[0] $ 69 69 ELSE RETURN, directory
Note: See TracChangeset
for help on using the changeset viewer.