diff options
author | B. Watson <yalhcru@gmail.com> | 2022-02-10 02:50:21 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:39 +0700 |
commit | d2007433dcea45364a9d4026d5d0912ebedb60a5 (patch) | |
tree | 3181f21b61ae86f3bbee036197010e51efd5230d /system/stress-ng/stress-ng.SlackBuild | |
parent | 59ddd1a2287f3432c9bf1e3f690c8d17c9fcef5d (diff) |
system/stress-ng: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/stress-ng/stress-ng.SlackBuild')
-rw-r--r-- | system/stress-ng/stress-ng.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/system/stress-ng/stress-ng.SlackBuild b/system/stress-ng/stress-ng.SlackBuild index 71f8c33c72875..9c16fe0420c77 100644 --- a/system/stress-ng/stress-ng.SlackBuild +++ b/system/stress-ng/stress-ng.SlackBuild @@ -21,6 +21,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220210 bkw: fix github download URL. we were getting a different +# filename depending on what client was used to download it. script +# can still use the old (wrong) filename though. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=stress-ng @@ -69,7 +73,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf ColinIanKing-stress-ng-c0e0123 -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || \ + tar xvf $CWD/ColinIanKing-stress-ng-V0.13.05-0-gc0e0123.tar.gz cd ColinIanKing-stress-ng-c0e0123 chown -R root:root . find -L . \ |