X-Git-Url: https://git.madduck.net/etc/mrsetup.git/blobdiff_plain/1dddf74527e90b8d3d8981eeabdcc15859c2c435..360370e46a315af02ddd14047c55b07901f608c8:/mrsetup?ds=sidebyside diff --git a/mrsetup b/mrsetup index 240dd9f..892af6b 100755 --- a/mrsetup +++ b/mrsetup @@ -7,12 +7,14 @@ # set -eu +MY_GIT_SERVER=git.madduck.net +MY_GIT_REPOS='~/git' MY_ACCOUNT="$(whoami)@$(hostname --fqdn)" MY_ACCOUNT_GIT_REPO=${MY_GIT_REPOS}/accounts/${MY_ACCOUNT}.git -MY_GIT_URL_BASE=madduck: -MY_MR_REPO_URL=${MY_GIT_URL_BASE}pub/etc/mr.git -#MY_ACCOUNT_REPO_URL=$MY_GIT_URL_BASE/$MY_ACCOUNT_GIT_REPO -MR_REPO_URL=${MY_GIT_URL_BASE}pub/code/mr.git +MY_GIT_URL_BASE=ssh://$MY_GIT_SERVER +MY_MR_REPO_URL=$MY_GIT_URL_BASE/$MY_GIT_REPOS/pub/etc/mr.git +MY_ACCOUNT_REPO_URL=$MY_GIT_URL_BASE/$MY_ACCOUNT_GIT_REPO +MR_REPO_URL=$MY_GIT_URL_BASE/~/git/pub/code/mr.git MR_CODE=$HOME/code/mr MR_FGIT=.fgits/mr.git MR=.mr @@ -83,33 +85,33 @@ cp $MR/templ/.mrconfig . echo I: setting up base... $MR_CODE/mr co -if ssh $MY_GIT_SERVER "test -d $MY_ACCOUNT_GIT_REPO" /dev/tty