diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-04 14:32:41 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-01-04 14:32:41 +0100 |
| commit | ed2af2e82dbcfccb7392e9fbc3f837de1594c103 (patch) | |
| tree | b7f56fe38963c79ecf6fc7698200daf4d93873ae /scripts/bb_release | |
| parent | c3cfcc92422f6e525073226cdbfdcb00ab1e7dc7 (diff) | |
| download | busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.tar.gz busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.tar.bz2 busybox-w32-ed2af2e82dbcfccb7392e9fbc3f837de1594c103.zip | |
build system: detect if build host has no bzip2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/bb_release')
| -rwxr-xr-x | scripts/bb_release | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/bb_release b/scripts/bb_release index 545440d3a..180ad8f2e 100755 --- a/scripts/bb_release +++ b/scripts/bb_release | |||
| @@ -17,7 +17,7 @@ VERSION=`ls busybox-*.tar.gz | sed 's/busybox-\(.*\)\.tar\.gz/\1/'` | |||
| 17 | zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 | 17 | zcat busybox-$VERSION.tar.gz | bzip2 > busybox-$VERSION.tar.bz2 |
| 18 | 18 | ||
| 19 | for releasefile in busybox-$VERSION.tar.gz busybox-$VERSION.tar.bz2; do | 19 | for releasefile in busybox-$VERSION.tar.gz busybox-$VERSION.tar.bz2; do |
| 20 | test -f $releasefile || { echo "no $releasefile"; exit 1; } | 20 | test -f $releasefile || { echo "no $releasefile"; exit 1; } |
| 21 | gpg --detach-sign $releasefile | 21 | gpg --detach-sign $releasefile |
| 22 | sha256sum $releasefile > $releasefile.sha256 | 22 | sha256sum $releasefile > $releasefile.sha256 |
| 23 | done | 23 | done |
