store the host flex version
[AROS.git] / scripts / repo_type.sh
blob7fda1f6732dacb7d1f22b9c34bcc4814a2a9a465
1 #!/bin/sh
3 # get repository type
6 inside_git_repo=`cd $1 && git rev-parse --is-inside-work-tree 2>/dev/null`
8 if test -d $1/.svn; then
9 echo "SVN"
10 else
11 if [ "$inside_git_repo" = "true" ]; then
12 echo "Git"
13 else
14 echo ""