From 9ceda540bd64925f2315196f572c1a189d225ee9 Mon Sep 17 00:00:00 2001 From: SDRausty <27742457+SDRausty@users.noreply.github.com> Date: Thu, 27 Aug 2020 15:13:46 -0400 Subject: [PATCH] commit 937952268 on 20200827 --- .conf/VERSIONID | 2 +- build.github.bash | 9 ++++----- sha512.sum | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.conf/VERSIONID b/.conf/VERSIONID index c06a64b..da26a91 100644 --- a/.conf/VERSIONID +++ b/.conf/VERSIONID @@ -1 +1 @@ -0.0.185 +0.0.186 diff --git a/build.github.bash b/build.github.bash index f7e1b5a..d6e48f4 100755 --- a/build.github.bash +++ b/build.github.bash @@ -229,11 +229,10 @@ _GTGF_ () { # clone git repository else printf "%s\\n" "Checking HEAD branch in $NAME..." RBRANCH="$( git remote show $NAME | grep "HEAD branch" | cut -d ":" -f 2 )" - RBRANCH="${RBRANCH# }" # strip leading space - printf "%s\\n%s\\n" "$COMMIT" "$RBRANCH" > "$JDR/var/conf/$USER.${NAME##*/}.${COMMIT::7}.br" fi - printf "%s\\n" "Getting branch $RBRANCH from git repository $NAME..." - ( git clone --depth 1 "$NAME" --branch $RBRANCH --single-branch ; cd ${NAME##*/} ; git fsck ; cd $JDR ) || ( cd $JDR && _SIGNAL_ "32" "_GTGF_ git clone" ) + # if the remote git branch was not found then clone git repository, else clone the specific branch from this repository + [[ $RBRANCH == "" ]] && (( printf "\\e[0;32m%s\\e[0m\\n" "Getting git repository $NAME..." && git clone --depth 1 "$NAME" --single-branch ; cd ${NAME##*/} ; git fsck ; cd $JDR ) || ( cd $JDR && _SIGNAL_ "32" "_GTGF_ git clone" )) || (( printf "%s\\n%s\\n" "$COMMIT" "$RBRANCH" > "$JDR/var/conf/$USER.${NAME##*/}.${COMMIT::7}.br" && printf "\\e[0;32m%s\\e[0m\\n" "Getting branch$RBRANCH from git repository $NAME..." && git clone --depth 1 "$NAME" --branch $RBRANCH --single-branch ; cd ${NAME##*/} ; git fsck ; cd $JDR ) || ( cd $JDR && _SIGNAL_ "32" "_GTGF_ git clone" )) + # delete surplus directories and files from cloned git repository _IAR_ "$JDR/${NAME##*/}" || _SIGNAL_ "34" "_GTGF_ _IAR_" } @@ -295,7 +294,7 @@ _MAINGITHUB_ () { fi F1AR=($(find "$JDR" -maxdepth 1 -type d)) # create array of JDR contents cd "$JDR" - [ ! -d .git ]&&git init + [ ! -d .git ] && git init _PRINTAS_ for NAME in "${JARR[@]}" do diff --git a/sha512.sum b/sha512.sum index 649c1fe..ad866a0 100644 --- a/sha512.sum +++ b/sha512.sum @@ -1,4 +1,4 @@ -6d8a83f9139354de49819fef1d7753bc5d3060a3721230854979e89365cb483e4e675a38112066314bfecbf7f74318f14dc1f4551bd1c1c7ac3d5359ea086aff ./.conf/VERSIONID +91086cfcf6ae8e9365b04b12ddda24a7bb28328093193ca21eb35a23e73b2e01f2d081673436ce426766f52e89b20251c3653daea0ba7da5b27bc01a5460724d ./.conf/VERSIONID 05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml 5e20f4451f28b2ad8cd03e174bafa7c5d2d08cb3d9c6364a1f36b47fa1a2ae7e222970337f1481f149b6f87894f59e113bc49924776d558f0eb0773f6eebcd56 ./.github/workflows/label.yml @@ -9,7 +9,7 @@ fdbfc92756d0db9f2d22583ad4842e04d6064482e6a88be8fa76f13f790121d04b77442f6348d575 86d792d8ee81be1a1ea3634a675c5d5c819f64bfad6a777e5beccad6a4a6a308f6511242e5ff91a40f065ca6ceee4643795e2e1d7ef4d11e713b548d2dcfdf12 ./.scripts/maintenance/vgen.sh 79989a00327568169a885bac808d7116847c0937e29ac29d5790f22e7a997f0f7656f80d1e7c55f5355b33d3458d505cbf939ca659a59f778cf784075a8370fc ./LICENSE 7202b9f0063815066877943055f13ab4855c237f43def3e5320bb850e25e07ef210717809bf1f3e90a41a4e324f51fe8764e0edc1946a75a4da26cb08faed16c ./README.md -f15f43fb55959afff95cc3070c87566119910a01ddfd6e4fb004e16a88e041b4d049be6feb4dd168da8d748068f5d240b46e106ac1fc66747f7c309654d19983 ./build.github.bash +0c5975b66a44d27923080694822805ea8b0a3837e773af477327113bf07fc2b90bea9001a60c7e0e0d8082b27bcfb70e200229dd5bee22b8b20d3f4701e5f566 ./build.github.bash 434ce5781b02bdef064b9c61fa387c247a5c2205f5d4f0bad8425e0bb8864e6d79443ed350a603928324b079e8287fe7970633d246e4083334be1afe38699e08 ./build.github.sequential.bash 09af993044bbd775ef17dd2dd04277564d775c51317e5d709cd91661a2ccc89ff77d5ed915630f1aba16ad3b4243e4687b03cef8388f4d79e859f165ed635b0e ./build.github.tarballs.bash 2ad9f671add2ec0901f3ac05d3950fda1f1c25986aef8f4ad21ef0a368ca019b226110bdfba84ffd520741145c2be0131f09670005cfa6c765e5ce59363a2a19 ./build.github.topics.bash