modified error handling methods
[feisty_meow.git] / scripts / rev_control / checkin.sh
1 #!/bin/bash
2
3 # checkin: checks in all the folders present in the REPOSITORY_LIST variable.
4
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
6 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
7
8 ##############
9
10 echo "committing repositories at: $(date)"
11 echo
12
13 FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME "
14 if [ "$OS" == "Windows_NT" ]; then
15   FULL_LIST+=" c:/ d:/ e:/ "
16 fi
17
18 checkin_list $FULL_LIST
19 exit_on_error "checking in list: $FULL_LIST"
20
21 ##############
22
23 # regenerate the scripts after checking in, since this could mean a modified version
24 # of feisty meow is present.
25 regenerate
26
27 ##############
28