Skip to content

Commit

Permalink
commit 166423068 on 20200827
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Aug 27, 2020
1 parent 9ceda54 commit 0ebf42e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .conf/VERSIONID
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.186
0.0.187
14 changes: 7 additions & 7 deletions build.github.bash
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ _ATT_ () {
if grep AndroidManifest.xml <<< "$ISAND"
then
_AND_ 0
_GTGF_
_CLAGR_
else
_NAND_
fi
Expand All @@ -66,7 +66,7 @@ _ATTG_ () {
_IG_
else
# clone git repository
_GTGF_
_CLAGR_
fi
fi
}
Expand Down Expand Up @@ -221,7 +221,7 @@ _GETREPOS_() {
fi
}

_GTGF_ () { # clone git repository
_CLAGR_ () { # clone a git repository
NAME="${NAME/#https/git}"
if [[ -f "$JDR/var/conf/$USER.${NAME##*/}.${COMMIT::7}.br" ]]
then
Expand All @@ -230,18 +230,18 @@ _GTGF_ () { # clone git repository
printf "%s\\n" "Checking HEAD branch in $NAME..."
RBRANCH="$( git remote show $NAME | grep "HEAD branch" | cut -d ":" -f 2 )"
fi
# 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" ))
# if the remote git HEAD branch was not found, then clone a single branch from this git repository, else clone the HEAD 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" "_CLAGR_ 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" "_CLAGR_ git clone" ))
# delete surplus directories and files from cloned git repository
_IAR_ "$JDR/${NAME##*/}" || _SIGNAL_ "34" "_GTGF_ _IAR_"
_IAR_ "$JDR/${NAME##*/}" || _SIGNAL_ "34" "_CLAGR_ _IAR_"
}

_IG_ () { # do nothing if config file is correct
if grep "${NAME##*/}" "${NAME##*/}"/.git/config 1>/dev/null
then
printf "%s\\n\\n" "Found clone of git repository ${NAME##*/}: Continuing..."
else # get repository
_GTGF_
_CLAGR_
fi
}

Expand Down
4 changes: 2 additions & 2 deletions sha512.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
91086cfcf6ae8e9365b04b12ddda24a7bb28328093193ca21eb35a23e73b2e01f2d081673436ce426766f52e89b20251c3653daea0ba7da5b27bc01a5460724d ./.conf/VERSIONID
c273c1174530030c016028a08eb186101e6abba4714b33ce8944f981509eed8c9d275563e5104c4bb7361daa461230f08c8b20d301a14dbe6a0e433fee2ddc7c ./.conf/VERSIONID
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml
5e20f4451f28b2ad8cd03e174bafa7c5d2d08cb3d9c6364a1f36b47fa1a2ae7e222970337f1481f149b6f87894f59e113bc49924776d558f0eb0773f6eebcd56 ./.github/workflows/label.yml
Expand All @@ -9,7 +9,7 @@ fdbfc92756d0db9f2d22583ad4842e04d6064482e6a88be8fa76f13f790121d04b77442f6348d575
86d792d8ee81be1a1ea3634a675c5d5c819f64bfad6a777e5beccad6a4a6a308f6511242e5ff91a40f065ca6ceee4643795e2e1d7ef4d11e713b548d2dcfdf12 ./.scripts/maintenance/vgen.sh
79989a00327568169a885bac808d7116847c0937e29ac29d5790f22e7a997f0f7656f80d1e7c55f5355b33d3458d505cbf939ca659a59f778cf784075a8370fc ./LICENSE
7202b9f0063815066877943055f13ab4855c237f43def3e5320bb850e25e07ef210717809bf1f3e90a41a4e324f51fe8764e0edc1946a75a4da26cb08faed16c ./README.md
0c5975b66a44d27923080694822805ea8b0a3837e773af477327113bf07fc2b90bea9001a60c7e0e0d8082b27bcfb70e200229dd5bee22b8b20d3f4701e5f566 ./build.github.bash
46590b8fa41ed70cecaa1dbe857d2396d38a2a3ac2e246c3a1f4aecc7f5e58273b090408f41e8d0ee84967b2fb535b48403d4223d0b52b273c8f5e80f8f4ca5b ./build.github.bash
434ce5781b02bdef064b9c61fa387c247a5c2205f5d4f0bad8425e0bb8864e6d79443ed350a603928324b079e8287fe7970633d246e4083334be1afe38699e08 ./build.github.sequential.bash
09af993044bbd775ef17dd2dd04277564d775c51317e5d709cd91661a2ccc89ff77d5ed915630f1aba16ad3b4243e4687b03cef8388f4d79e859f165ed635b0e ./build.github.tarballs.bash
2ad9f671add2ec0901f3ac05d3950fda1f1c25986aef8f4ad21ef0a368ca019b226110bdfba84ffd520741145c2be0131f09670005cfa6c765e5ce59363a2a19 ./build.github.topics.bash
Expand Down

0 comments on commit 0ebf42e

Please sign in to comment.