Changeset 168


Ignore:
Timestamp:
07/19/2007 20:54:18 (5 years ago)
Author:
ccowart
Message:

Assisting confman developers by allowing ./confman to source dev libs.

Location:
trunk/confman
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/confman/confman

    r167 r168  
    1212# $Id$ 
    1313 
    14 . /usr/local/rescomp/lib/confmancommon.sh 
     14# Try loading a development library first 
     15if [ -r ./confmancommon.sh ] ; then 
     16    echo "Loading development library from current working directory." >&2 
     17    . ./confmancommon.sh 
     18elif [ -r /usr/local/rescomp/lib/confmancommon.sh ] ; then 
     19    . /usr/local/rescomp/lib/confmancommon.sh 
     20else 
     21    echo "Can't find confmancommon.sh. Exiting." >&2 
     22fi 
    1523 
    1624# Set a default editor 
  • trunk/confman/confsync.sh

    r167 r168  
    1212## 
    1313 
    14 . /usr/local/rescomp/lib/confmancommon.sh 
     14# Try loading a development library first 
     15if [ -r ./confmancommon.sh ] ; then 
     16    echo "Loading development library from current working directory." >&2 
     17    . ./confmancommon.sh 
     18elif [ -r /usr/local/rescomp/lib/confmancommon.sh ] ; then 
     19    . /usr/local/rescomp/lib/confmancommon.sh 
     20else 
     21    echo "Can't find confmancommon.sh. Exiting." >&2 
     22fi 
    1523 
    1624# If we're in debug mode, we should log stderr messages to the logger 
  • trunk/confman/export.sh

    r150 r168  
    1414## 
    1515 
    16 . /usr/local/rescomp/lib/confmancommon.sh 
     16# Try loading a development library first 
     17if [ -r ./confmancommon.sh ] ; then 
     18    echo "Loading development library from current working directory." >&2 
     19    . ./confmancommon.sh 
     20elif [ -r /usr/local/rescomp/lib/confmancommon.sh ] ; then 
     21    . /usr/local/rescomp/lib/confmancommon.sh 
     22else 
     23    echo "Can't find confmancommon.sh. Exiting." >&2 
     24fi 
    1725 
    1826# If we're in debug mode, we should log stderr messages to the logger 
Note: See TracChangeset for help on using the changeset viewer.