-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
# stop on errors. | ||
set -e | ||
|
||
# define starting directory. | ||
PA_SOURCES_PATH="${APORTS:-/home/sandbox/scripts}" | ||
|
||
# source helpers. | ||
# shellcheck disable=SC1090 | ||
source "${BASH_SOURCE%/*}/helpers/colors.sh" | ||
|
||
# ensure starts on sources path. | ||
# shellcheck disable=SC2164 | ||
cd "${PA_SOURCES_PATH}" | ||
|
||
# find all package directories | ||
PACKAGE_DIRS=$(find . -name "APKBUILD" | xargs -I % readlink -f % | xargs -I % dirname %) | ||
|
||
# loop packages and build each one. | ||
for PACKAGE_DIR in $PACKAGE_DIRS; do | ||
cd "${PACKAGE_DIR}" && abuild checksum | ||
done | ||
|
||
# echo -e "${PACKAGE_DIRS}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters