Changeset 841

Show
Ignore:
Timestamp:
11/17/07 19:02:44 (10 months ago)
Author:
Gregor
Message:

rebuild/choosedc.c: rebuild_choosedc now works when installed to /usr/bin (see

ticket #143).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docs/ChangeLog

    r840 r841  
    66          with DMD, as neither of these build strategies is supportable. 
    77        - Rebuild: Merged DMD 2.007. 
     8        - Rebuild: rebuild_choosedc now works when installed to /usr/bin (see 
     9          ticket #143). 
    810 
    9110.73 from 0.72: 
  • trunk/rebuild/choosedc.c

    r599 r841  
    111111        defaultfname = (char *) malloc(strlen(dir) + 22); 
    112112        sprintf(defaultfname, "%s/rebuild.conf/default", dir); 
     113    } else if (strcmp(dir, "/usr/bin") == 0) { 
     114        defaultfname = (char *) malloc(21); 
     115        sprintf(defaultfname, "/etc/rebuild/default"); 
    113116    } else { 
    114117        defaultfname = (char *) malloc(strlen(dir) + 24);