summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2021-01-29 22:13:33 +0100
committerSolomon Peachy <pizza@shaftnet.org>2021-02-05 17:29:05 +0000
commita67c6934c1674ce7f5db9047b43d339b576ea881 (patch)
tree5faade78c35b0630b2a7b739745ec3b566530448 /tools
parente23d45536edc7bd19ac606989393f8e3964e1c33 (diff)
downloadrockbox-a67c6934c1674ce7f5db9047b43d339b576ea881.tar.gz
rockbox-a67c6934c1674ce7f5db9047b43d339b576ea881.zip
rockboxdev: better error message for unknown compression
I hit this error and its message confused me because I interpreted it as "bzip2 executable could not be found". The message was also outdated because xz is supported meanwhile. Update the message to something hopefully more helpful. Change-Id: Ide2f8809dc0f8159d7d04fa22c29607dd6b35792
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index 0c4b189410..d9b5ecd524 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -271,7 +271,7 @@ extract() {
271 elif [ -f "$dlwhere/$1.tar.xz" ]; then 271 elif [ -f "$dlwhere/$1.tar.xz" ]; then
272 tar xJf "$dlwhere/$1.tar.xz" 272 tar xJf "$dlwhere/$1.tar.xz"
273 else 273 else
274 echo "ROCKBOXDEV: I don't know how to extract $1 (no bzip2 or gzip)" 274 echo "ROCKBOXDEV: unknown compression for $1"
275 exit 275 exit
276 fi 276 fi
277} 277}