Skip to content

Commit

Permalink
Twenga#88 Choosing config depending the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien-Hanicotte committed Jan 11, 2013
1 parent 5425182 commit 6f78114
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions twgit
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ if [ ! -f "$config_file" ]; then
echo "Try to copy '${config_file%.sh}-dist.sh' to '$config_file' and configure it."
exit 1
fi
root_directory="$(git rev-parse --show-toplevel)"
secondary_config_file="$root_directory/.twgit"
. $config_file
if [ -f "$secondary_config_file" ]; then
# echo "Reading the secondary config file..."
. $secondary_config_file
fi
. $TWGIT_INC_DIR/common.inc.sh


Expand Down

0 comments on commit 6f78114

Please sign in to comment.