aboutsummaryrefslogtreecommitdiff
path: root/tests/dl-linux-tarball.bash
diff options
context:
space:
mode:
authorAnkush Patel2026-02-17 20:11:19 +1300
committerAnkush Patel2026-02-17 20:15:53 +1300
commit3a5675480b1ac35c938a4776240b16c20ec134ff (patch)
treeeab9331694c76103e1d3b6aa844e6e66afeff38c /tests/dl-linux-tarball.bash
parent8d8fb15f0b3680add1f3b28c062b573a92221ab0 (diff)
Freebsd-support: Change bash shebang to use /usr/bin/env
Diffstat (limited to 'tests/dl-linux-tarball.bash')
-rwxr-xr-xtests/dl-linux-tarball.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dl-linux-tarball.bash b/tests/dl-linux-tarball.bash
index 03c0e7d..3c325db 100755
--- a/tests/dl-linux-tarball.bash
+++ b/tests/dl-linux-tarball.bash
@@ -1,8 +1,10 @@
-#!/bin/bash -eu
+#!/usr/bin/env bash
#
# This script checks the size of /tmp/linux-3.0.tar.gz and downloads
# a fresh copy if the size is incorrect or the file is missing.
+set -eu
+
URL=https://cdn.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.gz
TGZ=/tmp/linux-3.0.tar.gz