From: Steven Baltakatei Sandoval Date: Sun, 4 Apr 2021 17:42:32 +0000 (+0000) Subject: fix(unitproc:initGitRepo):Improve usability X-Git-Tag: 0.4.5^0 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/bd4ff344cc3dcaefca30e4ebdca956cd3d92b3b2?ds=sidebyside;hp=--cc fix(unitproc:initGitRepo):Improve usability - Remove 4-second sleep - Add console horizontal line --- bd4ff344cc3dcaefca30e4ebdca956cd3d92b3b2 diff --git a/unitproc/bktemp-initGitRepo b/unitproc/bktemp-initGitRepo index 905e929..4575daf 100644 --- a/unitproc/bktemp-initGitRepo +++ b/unitproc/bktemp-initGitRepo @@ -31,7 +31,7 @@ initGitRepo() { # arg2: repoDir # arg3: remoteName # arg4: branchName - # Version: 0.0.5 + # Version: 0.0.6 # Depends: checkURL() 0.0.2, yell(), Bash 5.0.3 # Ref/Attrib: [1]: Test for space-less alphanuemric string. https://unix.stackexchange.com/a/416120 # [2]: Test for argument count. https://stackoverflow.com/q/18568706 @@ -68,7 +68,6 @@ initGitRepo() { else yell "STATUS:Already a git repository:$repoDir"; git status; git remote -v; - yell "STATUS:Pausing 4 seconds..."; sleep 4; fi; yell "STATUS:Adding $repoURL as remote $remoteName"; git remote add "$remoteName" "$repoURL"; @@ -77,6 +76,7 @@ initGitRepo() { unset repoURL repoDir remoteName branchName; popd || exit 1; #==END create and populate git repository== + yell "================================"; } # Init Git Repository #===END Declare local script functions=== #==END Define script parameters==