Changeset 110 for confman/confmanlib.sh
- Timestamp:
- 05/23/2006 14:23:41 (6 years ago)
- File:
-
- 1 edited
-
confman/confmanlib.sh (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
confman/confmanlib.sh
r107 r110 323 323 # First, we perform the easy operations 324 324 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 } 327 328 svn mv ${WORK_PATH}/${REPO_CHECKPTS}/${oldmod} \ 328 329 ${WORK_PATH}/${REPO_CHECKPTS}/${newmod} || \ 329 330 { echo "There was a problem renaming the checkpts." >&4 ; \ 330 conf_clean_exit 1 } 331 conf_clean_exit 1 332 } 331 333 332 334 svn update ${WORK_PATH} || \ 333 335 { echo "Your working copy didn't update correctly." >&4 ; \ 334 conf_clean_exit 1 } 336 conf_clean_exit 1 337 } 335 338 svn commit -m "Renaming ${oldmod} to ${newmod}, phase 1." \ 336 339 ${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 } 338 342 339 343 # Next, we have to rename any singularities … … 347 351 svn update ${WORK_PATH} || \ 348 352 { 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." 351 356 ${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 } 353 359 354 360 # Now, we have to go fix all the confman headers in all the files... … … 359 365 svn update ${WORK_PATH} || \ 360 366 { echo "Your working copy didn't update correctly." >&4 ; \ 361 conf_clean_exit 1 } 367 conf_clean_exit 1 368 } 362 369 svn commit -m "Renaming ${oldmod} to ${newmod}, complete." \ 363 370 ${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 } 365 373 } 366 374 … … 387 395 function conf_cleanexit { 388 396 echo "Abort, Abort! Patience is a virtue." >&2 397 echo "Please wait until I finish cleaning up after you." >&4 389 398 rm -f /tmp/confman* 390 399 … … 402 411 exit $1 403 412 fi 404 405 413 } 406 414
Note: See TracChangeset
for help on using the changeset viewer.
