Skip to content

Commit d1038dd

Browse files
committed
commit 146125861 on 20210402
1 parent 7c89bb4 commit d1038dd

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.conf/VERSIONID

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.201
1+
0.0.202

build.repo.bash

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,34 @@ set -eu
66
shopt -s nullglob globstar
77
export RDR="$HOME/buildAPKs"
88
if [ $# != 1 ]
9-
then
10-
printf "\\n%s\\n\\n%s\\n\\n" "The '${0##*/}' command has been tested with https://github.com/search and https://gitlab.com/explore successfully. Please share addresses to sourcecode at https://github.com/BuildAPKs in order to help develop this topic if you find repo candidates for inclusion." "EXAMPLE USAGE: '${0##*/} https://github.com/BuildAPKs/buildAPKs.entertainment'" && exit
9+
then # print help
10+
printf "\\n%s\\n\\n%s\\n\\n" "The '${0##*/}' command has been tested with https://github.com/search and https://gitlab.com/explore successfully. Please share addresses to sourcecode at https://github.com/BuildAPKs in order to help develop this topic if you find repo candidates for inclusion." "EXAMPLE USAGE: ${0##*/} https://github.com/BuildAPKs/buildAPKs.entertainment" && exit
1111
fi
1212
_CLONEBUILD_() {
13-
cd "$RDR/sources/$SITENAME/$LOGINAME"
14-
git clone --depth 1 "$@" --single-branch
15-
cd "$REPONAME"
16-
"$RDR/scripts/bash/build/build.in.dir.bash"
13+
cd "$RDR/sources/$SITENAME/$LOGINAME" && git clone --depth 1 "$@" --single-branch && cd "$REPONAME" && "$RDR/scripts/bash/build/build.in.dir.bash"
1714
}
1815
BASENAME="${@%/}" # strip trailing slash
1916
BASENAME="${BASENAME#*//}" # strip before double slash
2017
REPONAME="${BASENAME##*/}" # strip before last slash
2118
LOGINAME="${BASENAME%/*}" # strip after last slash
2219
LOGINAME="${LOGINAME##*/}" # strip before last slash
2320
SITENAME="${BASENAME%%/*}" # strip after first slash
21+
if [ ! -n "${LOGINAME:-}" ] || [ ! -n "${REPONAME:-}" ] || [ ! -n "${SITENAME:-}" ] # any variable or more is empty
22+
then # exit
23+
printf "%s\\n" "EXCEPTION processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME: EXITING..."
24+
exit 101
25+
fi
2426
printf "%s\\n" "Processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME:"
27+
sleep 1.6
2528
if [ -d "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME" ]
2629
then
27-
cd "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME"
28-
"$RDR/scripts/bash/build/build.in.dir.bash"
30+
cd "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME"
31+
"$RDR/scripts/bash/build/build.in.dir.bash"
2932
elif [ -d "$RDR/sources/$SITENAME/$LOGINAME" ]
3033
then
31-
_CLONEBUILD_ "$@"
34+
_CLONEBUILD_ "$@"
3235
else
33-
mkdir -p "$RDR/sources/$SITENAME/$LOGINAME"
34-
_CLONEBUILD_ "$@"
36+
mkdir -p "$RDR/sources/$SITENAME/$LOGINAME"
37+
_CLONEBUILD_ "$@"
3538
fi
3639
# build.repo.bash OEF

sha512.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ edc449000a5fdd51e57514ccde45c6d5ff29f2bceaa9c3b2abe0119ef72a6a0edf80ec8968080ccd
22
434ce5781b02bdef064b9c61fa387c247a5c2205f5d4f0bad8425e0bb8864e6d79443ed350a603928324b079e8287fe7970633d246e4083334be1afe38699e08 ./build.github.sequential.bash
33
09af993044bbd775ef17dd2dd04277564d775c51317e5d709cd91661a2ccc89ff77d5ed915630f1aba16ad3b4243e4687b03cef8388f4d79e859f165ed635b0e ./build.github.tarballs.bash
44
2ad9f671add2ec0901f3ac05d3950fda1f1c25986aef8f4ad21ef0a368ca019b226110bdfba84ffd520741145c2be0131f09670005cfa6c765e5ce59363a2a19 ./build.github.topics.bash
5-
4da0c6650de502cf9a32cc7f9af371d3c8069e233a19f728475165a444e9eb29ac8081aaa480b4ec4c7d884e27440b9e3d39a2a208881c34499501fd9215d56f ./build.repo.bash
6-
866e9eb58dc141d8b992decb0c7a26d2e847fedad1cbfe604443794b1792fba5eee2ba0484609d1b39daa4323d2a39affaaa7d7842088b4af2133cd9d5ebe74e ./.conf/VERSIONID
5+
3f88a24d61517f4a2d12f7c7a114ca6aa174d78868d9c5da28600f74937cb94ba94e01edc5f6ee8d33364cae62b711982e26d42b09623512b40caa9133d3c8c7 ./build.repo.bash
6+
8cd31d752ce9eb9bbecae5d8bba227bb44537312a299e9db9ad440969784032a21b1989b13235833ecbf9ec8e896cef3fbdd96f155f7381135764118897a52a1 ./.conf/VERSIONID
77
721de76fac626308cd3da4a828a15ab45f09ed3d5c202f19dc58ca6e1ec538477e0d65d87a4545a44c50a57613d54c6ef651177a32a1034e93c4fce1e322949a ./download.github.bash
88
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
99
ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml

0 commit comments

Comments
 (0)