Commits

Exaos Lee committed 7bab2c8

Update myrepos.sh

  • Participants
  • Parent commits c5fe141

Comments (0)

Files changed (1)

File repos/myrepos.sh

 OS_TYPE=`uname -s | tr '[A-Z]' '[a-z]'`
 if [[ "${OS_TYPE}" = cygwin* ]] || [[ "${OS_TYPE}" = msys ]] || [[ "${OS_TYPE}" = mingw* ]]
 then
-    export HOME=/d/Exaos
+    export WORKSPACE=/d/Exaos/Workspace
     export LOCALREPOS=/d/Exaos/Library/Repos
 else
+    export WORKSPACE=$HOME/Workspace
     export LOCALREPOS=$HOME/Repos
 fi
 
 
 #### Repositories monitered
 repos=(
-    $HOME/Workspace/exaos/myconfig
-    $HOME/Workspace/exaos/mynotes
-    $HOME/Workspace/exaos/daily
-    $HOME/Workspace/exaos/utils/goagent
-    $HOME/Workspace/exaos/scripts
-    $HOME/Workspace/exaos/mysite-src
-    $HOME/Workspace/exaos/mysite
+    $WORKSPACE/exaos/myconfig
+    $WORKSPACE/exaos/mynotes
+    $WORKSPACE/exaos/daily
+    $WORKSPACE/exaos/utils/goagent
+    $WORKSPACE/exaos/scripts
+    $WORKSPACE/exaos/mysite-src
+    $WORKSPACE/exaos/mysite
 )
 
 sync_repo () {