Commits

Exaos Lee committed c5fe141

Add WINDOWS default local bare repos

Comments (0)

Files changed (1)

 if [[ "${OS_TYPE}" = cygwin* ]] || [[ "${OS_TYPE}" = msys ]] || [[ "${OS_TYPE}" = mingw* ]]
 then
     export HOME=/d/Exaos
+    export LOCALREPOS=/d/Exaos/Library/Repos
+else
+    export LOCALREPOS=$HOME/Repos
 fi
 
 abs_path () {
 	RREPO_ROOT="${1}:Repos"
     else
 	if [ -z "$2" ] ; then
-            lrpath="$HOME/Repos"
+            lrpath=${LOCALREPOS}
 	else
 	    lrpath="$2"
 	fi