Skip to content

Commit

Permalink
commit 146125861 on 20210402
Browse files Browse the repository at this point in the history
  • Loading branch information
SDRausty committed Apr 2, 2021
1 parent 7c89bb4 commit d1038dd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .conf/VERSIONID
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.201
0.0.202
25 changes: 14 additions & 11 deletions build.repo.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,34 @@ set -eu
shopt -s nullglob globstar
export RDR="$HOME/buildAPKs"
if [ $# != 1 ]
then
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
then # print help
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
fi
_CLONEBUILD_() {
cd "$RDR/sources/$SITENAME/$LOGINAME"
git clone --depth 1 "$@" --single-branch
cd "$REPONAME"
"$RDR/scripts/bash/build/build.in.dir.bash"
cd "$RDR/sources/$SITENAME/$LOGINAME" && git clone --depth 1 "$@" --single-branch && cd "$REPONAME" && "$RDR/scripts/bash/build/build.in.dir.bash"
}
BASENAME="${@%/}" # strip trailing slash
BASENAME="${BASENAME#*//}" # strip before double slash
REPONAME="${BASENAME##*/}" # strip before last slash
LOGINAME="${BASENAME%/*}" # strip after last slash
LOGINAME="${LOGINAME##*/}" # strip before last slash
SITENAME="${BASENAME%%/*}" # strip after first slash
if [ ! -n "${LOGINAME:-}" ] || [ ! -n "${REPONAME:-}" ] || [ ! -n "${SITENAME:-}" ] # any variable or more is empty
then # exit
printf "%s\\n" "EXCEPTION processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME: EXITING..."
exit 101
fi
printf "%s\\n" "Processing $@ in directory ~/${RDR##*/}/sources/$SITENAME/$LOGINAME/$REPONAME:"
sleep 1.6
if [ -d "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME" ]
then
cd "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME"
"$RDR/scripts/bash/build/build.in.dir.bash"
cd "$RDR/sources/$SITENAME/$LOGINAME/$REPONAME"
"$RDR/scripts/bash/build/build.in.dir.bash"
elif [ -d "$RDR/sources/$SITENAME/$LOGINAME" ]
then
_CLONEBUILD_ "$@"
_CLONEBUILD_ "$@"
else
mkdir -p "$RDR/sources/$SITENAME/$LOGINAME"
_CLONEBUILD_ "$@"
mkdir -p "$RDR/sources/$SITENAME/$LOGINAME"
_CLONEBUILD_ "$@"
fi
# build.repo.bash OEF
4 changes: 2 additions & 2 deletions sha512.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ edc449000a5fdd51e57514ccde45c6d5ff29f2bceaa9c3b2abe0119ef72a6a0edf80ec8968080ccd
434ce5781b02bdef064b9c61fa387c247a5c2205f5d4f0bad8425e0bb8864e6d79443ed350a603928324b079e8287fe7970633d246e4083334be1afe38699e08 ./build.github.sequential.bash
09af993044bbd775ef17dd2dd04277564d775c51317e5d709cd91661a2ccc89ff77d5ed915630f1aba16ad3b4243e4687b03cef8388f4d79e859f165ed635b0e ./build.github.tarballs.bash
2ad9f671add2ec0901f3ac05d3950fda1f1c25986aef8f4ad21ef0a368ca019b226110bdfba84ffd520741145c2be0131f09670005cfa6c765e5ce59363a2a19 ./build.github.topics.bash
4da0c6650de502cf9a32cc7f9af371d3c8069e233a19f728475165a444e9eb29ac8081aaa480b4ec4c7d884e27440b9e3d39a2a208881c34499501fd9215d56f ./build.repo.bash
866e9eb58dc141d8b992decb0c7a26d2e847fedad1cbfe604443794b1792fba5eee2ba0484609d1b39daa4323d2a39affaaa7d7842088b4af2133cd9d5ebe74e ./.conf/VERSIONID
3f88a24d61517f4a2d12f7c7a114ca6aa174d78868d9c5da28600f74937cb94ba94e01edc5f6ee8d33364cae62b711982e26d42b09623512b40caa9133d3c8c7 ./build.repo.bash
8cd31d752ce9eb9bbecae5d8bba227bb44537312a299e9db9ad440969784032a21b1989b13235833ecbf9ec8e896cef3fbdd96f155f7381135764118897a52a1 ./.conf/VERSIONID
721de76fac626308cd3da4a828a15ab45f09ed3d5c202f19dc58ca6e1ec538477e0d65d87a4545a44c50a57613d54c6ef651177a32a1034e93c4fce1e322949a ./download.github.bash
05a502a845e35bc0495a3a3006ae914785c48679dddd362bd98bd33c306ed2aa8fac57344b1b65955d41755c3967f3e991770764f6c2f14c6a52f3e52e00ef1c ./.github/FUNDING.yml
ec770c00aa2c6225a2e27e8f08bd3d1eb8882f2cde94c820ab48db0b0fb0175913cd43a851904ff015c95f1fa31bb787383608cf19eb9d34f572b5fa8f9250ab ./.github/workflows/greetings.yml
Expand Down

1 comment on commit d1038dd

@SDRausty
Copy link
Contributor Author

@SDRausty SDRausty commented on d1038dd Apr 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.