[Replicant] [release-scripts][PATCH 1/4] release.sh: Also handle the case where there are no prebuilt applications.
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Sat Jan 11 23:49:08 UTC 2020
In Replicant 6.0 0004:
- F-Droid was removed due to freedom issues.
- RepWifi was removed because it has been replaced by patches
enabling to use the stock WiFi settings.
This leaves the source with no more prebuilts applications.
Though other prebuilts are still used in the toolchain.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
release.sh | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/release.sh b/release.sh
index 748d678..f39aad1 100755
--- a/release.sh
+++ b/release.sh
@@ -174,11 +174,13 @@ release_metadata_release () {
}
release_metadata_prebuilt () {
- dir=$( pwd )
+ if [ -d "$REPLICANT_DIR/vendor/replicant/prebuilt/common/apps/" ] ; then
+ dir=$( pwd )
- cd "$REPLICANT_DIR/vendor/replicant/prebuilt/common/apps/"
- sha256sum *.apk > "$METADATA/prebuilt.sha256"
- cd "$dir"
+ cd "$REPLICANT_DIR/vendor/replicant/prebuilt/common/apps/"
+ sha256sum *.apk > "$METADATA/prebuilt.sha256"
+ cd "$dir"
+ fi
}
release_metadata_git () {
--
2.24.1
More information about the Replicant
mailing list