modified error handling methods
[feisty_meow.git] / scripts / rev_control / puffer.sh
1 #!/bin/bash
2
3 # puffer: "puffs out" all of the folders present in the REPOSITORY_LIST
4 # variable, which causes the repo to be merged with its remote versions.
5 # this enables a clean check-in; after puffer runs, there will be no secret
6 # upstream changes that could mess up the git push (svn and cvs are not
7 # supported in this script, since they branch differently than git).
8
9 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
10 source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh"
11
12 ##############
13
14 echo "puffing out repositories at: $(date)"
15 echo
16
17 FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME "
18 if [ "$OS" == "Windows_NT" ]; then
19   FULL_LIST+=" c:/ d:/ e:/ "
20 fi
21
22 puff_out_list $FULL_LIST
23 exit_on_error "puffing out list: $FULL_LIST"
24
25 ##############
26
27 # regenerate the scripts after puffing out, since this could mean a modified version
28 # of feisty meow is present.
29 regenerate
30
31 ##############
32