aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-30 19:43:38 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-30 19:43:38 -0500
commitfb94e838b9ae0a97f3fc6175cda963fa41d7482f (patch)
tree02f9a273ab57d2a9fba64dd14d54bf822588ed74
parent6a44af285fe054440d7c81485dce187f42e00cc2 (diff)
Fix directory
-rwxr-xr-xrepo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo.sh b/repo.sh
index eb7db2f..df4c7da 100755
--- a/repo.sh
+++ b/repo.sh
@@ -25,7 +25,7 @@ case $1 in
create_repo $2
dir="$repo_location$2.git"
printf "git init\n"
- printf "git remote add origin git@marks.kitchen:/srv/git/$dir\n"
+ printf "git remote add origin git@marks.kitchen:$dir\n"
printf "git push origin master\n"
;;
list) # list repos on the server
@@ -37,7 +37,7 @@ case $1 in
;;
clone) # clone a repo from the list
dir="$repo_location$2.git"
- git clone git@marks.kitchen:/srv/git/$dir
+ git clone git@marks.kitchen:$repo_location$dir
cd $dir
;;
*)