Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit 1299be1

Browse files
committed
buildroot/rebuild.sh: Remove unnecessary '-r' flag for tarball removal
Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 14d6b9b commit 1299be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildroot/rebuild.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
function download_br() {
55
mkdir -p src
66
TARBALL=buildroot-${BUILDROOT_VERSION}.tar.gz
7-
rm -rf "${TARBALL}"
7+
rm -f "${TARBALL}"
88
curl -LO https://buildroot.org/downloads/"${TARBALL}"
99
SHA256=31a0dd7f5df75d20f6b74f0684918b643e5bf08d87dd5f9f02525852eecccf95
1010
if [[ $(sha256sum "${TARBALL}" | cut -d ' ' -f 1) != ${SHA256} ]]; then
1111
echo "Downloaded tarball's hash does not match known good one! Please try redownloading."
1212
exit 1
1313
fi
1414
tar -xzf "${TARBALL}" -C src --strip-components=1
15-
rm -rf "${TARBALL}"
15+
rm -f "${TARBALL}"
1616
}
1717

1818
# Make sure we don't have any unset variables

0 commit comments

Comments
 (0)