70564a16d5eb51f2086f4dfda681a3d3983e5bc6
[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 #  # first get individual folders.
16 #  checkin_list $(dirname $FEISTY_MEOW_APEX) $HOME 
17 #else (end old)
18 if [ "$OS" == "Windows_NT" ]; then
19   FULL_LIST+=" c:/ d:/ e:/"
20 fi
21
22 checkin_list $FULL_LIST
23
24 ##############
25
26 # regenerate the scripts after checking in, since this could mean a modified version
27 # of feisty meow is present.
28 regenerate
29
30 ##############
31