1 |
commit: ad5ab57d7ce52784d597298c13265c617dbf507c |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 3 14:33:18 2020 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 3 14:33:18 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ad5ab57d |
7 |
|
8 |
scripts/bootstrap-prefix: fix syntax error |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
scripts/bootstrap-prefix.sh | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
16 |
index 99b405f406..33f699a817 100755 |
17 |
--- a/scripts/bootstrap-prefix.sh |
18 |
+++ b/scripts/bootstrap-prefix.sh |
19 |
@@ -723,9 +723,9 @@ bootstrap_simple() { |
20 |
mkdir -p "${S}" |
21 |
cd "${S}" |
22 |
case $3 in |
23 |
- xz) decomp=xz ;; |
24 |
- bz2) decomp=bzip2 ;; |
25 |
- gz|) decomp=gzip ;; |
26 |
+ xz) decomp=xz ;; |
27 |
+ bz2) decomp=bzip2 ;; |
28 |
+ gz|"") decomp=gzip ;; |
29 |
esac |
30 |
${decomp} -dc "${DISTDIR}"/${A} | tar -xf - || return 1 |
31 |
S="${S}"/${PN}-${PV} |