p≡p engine FORK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
511 B

  1. #!/bin/bash
  2. cd src; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
  3. cd ../asn.1; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
  4. cd ../sync; hg status . | sed '/?\ /!d' | sed 's/?\ //' | xargs rm
  5. cd ..
  6. branch=`hg branch`
  7. if [ "$branch" = "sync" ]; then
  8. rm -f src/TrustSync_fsm.c src/TrustSync_fsm.h src/KeySync_fsm.c src/KeySync_fsm.h src/Sync_actions.c src/Sync_event.c src/Sync_event.h src/Sync_func.c src/Sync_func.h src/Sync_impl.c src/Sync_impl.h src/sync_codec.c src/sync_codec.h
  9. fi