Add an implied PROGDIR: to the ARexx dir name for scanning, as executing the script with PROGDIR: in it doesn't work.
This commit is contained in:
parent
d808e46c17
commit
c781ca27b7
|
@ -496,8 +496,12 @@ void ami_menu_arexx_scan(struct gui_window_2 *gwin)
|
|||
LONG cont;
|
||||
struct ExAllData *ead;
|
||||
char *menu_lab;
|
||||
|
||||
if(lock = Lock(nsoption_charp(arexx_dir), SHARED_LOCK))
|
||||
char lock_dir[1024];
|
||||
|
||||
strlcpy(lock_dir, "PROGDIR:", 1024);
|
||||
AddPart(lock_dir, nsoption_charp(arexx_dir), 1024);
|
||||
|
||||
if(lock = Lock(lock_dir, SHARED_LOCK))
|
||||
{
|
||||
if(buffer = AllocVecTagList(1024, NULL))
|
||||
{
|
||||
|
|
|
@ -44,7 +44,7 @@ NSOPTION_BOOL(tab_close_warn, true)
|
|||
NSOPTION_BOOL(tab_always_show, false)
|
||||
NSOPTION_BOOL(kiosk_mode, false)
|
||||
NSOPTION_STRING(search_engines_file, "PROGDIR:Resources/SearchEngines")
|
||||
NSOPTION_STRING(arexx_dir, "PROGDIR:Rexx")
|
||||
NSOPTION_STRING(arexx_dir, "Rexx")
|
||||
NSOPTION_STRING(arexx_startup, "Startup.nsrx")
|
||||
NSOPTION_STRING(arexx_shutdown, "Shutdown.nsrx")
|
||||
NSOPTION_STRING(download_dir, NULL)
|
||||
|
|
Loading…
Reference in New Issue