Changeset 110 for confman/confmanlib.sh


Ignore:
Timestamp:
05/23/2006 14:23:41 (6 years ago)
Author:
ccowart
Message:

Correct to my bash grouping syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • confman/confmanlib.sh

    r107 r110  
    323323        # First, we perform the easy operations 
    324324        svn mv ${WORK_PATH}/${oldmod} ${WORK_PATH}/${newmod} || \ 
    325                 {       echo "There was a problem renaming the modules." > &4 ; \ 
    326                         conf_clean_exit 1 } 
     325                {       echo "There was a problem renaming the modules." >&4 ; \ 
     326                        conf_clean_exit 1  
     327                } 
    327328        svn mv ${WORK_PATH}/${REPO_CHECKPTS}/${oldmod} \ 
    328329                        ${WORK_PATH}/${REPO_CHECKPTS}/${newmod} || \ 
    329330                {       echo "There was a problem renaming the checkpts." >&4 ; \ 
    330                         conf_clean_exit 1 } 
     331                        conf_clean_exit 1  
     332                } 
    331333 
    332334        svn update ${WORK_PATH} || \ 
    333335                {       echo "Your working copy didn't update correctly." >&4 ; \ 
    334                         conf_clean_exit 1 } 
     336                        conf_clean_exit 1  
     337                } 
    335338        svn commit -m "Renaming ${oldmod} to ${newmod}, phase 1." \ 
    336339                ${WORK_PATH}/{,${REPO_CHECKPTS}}/{${oldmod},${newmod}} || \ 
    337                 {       echo "Committing the changes failed." >&4 ; conf_clean_exit 1 } 
     340                {       echo "Committing the changes failed." >&4 ; conf_clean_exit 1  
     341                } 
    338342 
    339343        # Next, we have to rename any singularities 
     
    347351        svn update ${WORK_PATH} || \ 
    348352                {       echo "Your working copy didn't update correctly." >&4 ; \ 
    349                         conf_clean_exit 1 } 
    350         svn commit -m "Renaming ${oldmod} to ${newmod}, phase 2." \ 
     353                        conf_clean_exit 1  
     354                } 
     355        svn commit -m "Renaming ${oldmod} to ${newmod}, phase 2."  
    351356                ${WORK_PATH}/${newmod} || \ 
    352                 {       echo "Committing the changes failed." >&4 ; conf_clean_exit 1 } 
     357                {       echo "Committing the changes failed." >&4 ; conf_clean_exit 1  
     358                } 
    353359 
    354360        # Now, we have to go fix all the confman headers in all the files... 
     
    359365        svn update ${WORK_PATH} || \ 
    360366                {       echo "Your working copy didn't update correctly." >&4 ; \ 
    361                         conf_clean_exit 1 } 
     367                        conf_clean_exit 1  
     368                } 
    362369        svn commit -m "Renaming ${oldmod} to ${newmod}, complete." \ 
    363370                ${WORK_PATH}/${newmod} || \ 
    364                 {       echo "Committing the changes failed." >&4 ; conf_clean_exit 1 } 
     371                {       echo "Committing the changes failed." >&4 ; conf_clean_exit 1  
     372                } 
    365373} 
    366374 
     
    387395function conf_cleanexit { 
    388396        echo "Abort, Abort! Patience is a virtue." >&2 
     397        echo "Please wait until I finish cleaning up after you." >&4 
    389398        rm -f /tmp/confman* 
    390399 
     
    402411        exit $1 
    403412        fi 
    404  
    405413}        
    406414 
Note: See TracChangeset for help on using the changeset viewer.