Changeset 41


Ignore:
Timestamp:
03/29/2006 14:15:45 (6 years ago)
Author:
ccowart
Message:

Dealing with the creation of the working copy smarter.

Location:
confman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • confman/confman.conf

    r38 r41  
    1414 
    1515# The path on the remote host to find the repository: 
    16 REPO_PATH="/usr/local/rescomp/repo/conf" 
     16REPO_PATH="/usr/local/rescomp/repo/conf/conf" 
    1717 
    1818# The directory from the root of the repository to rescomp core: 
  • confman/confmanlib.sh

    r37 r41  
    1010function conf_checkout_tree { 
    1111  if [ ! -d ${WORK_PATH} ] ; then 
    12        mkdir -p ${WORK_PATH} 
    13        rmdir ${WORK_PATH} 
    14        svn checkout ${REPO_URI} ${WORK_PATH}/.. 
     12       local path=`echo ${WORK_PATH} | sed -E 's:/[^/]+$::'` 
     13       mkdir -p ${path} 
     14       svn checkout ${REPO_URI} ${path} 
     15       rm -rf ${path}/.svn 
    1516  else 
    1617       svn update ${WORK_PATH} 
Note: See TracChangeset for help on using the changeset viewer.