@@ -74,56 +74,56 @@ echo "SDK_VERSION=${sdk_version}" >> $setup
74
74
cat template_dir >> $setup
75
75
76
76
if [ -n " $file_gcc_x86 " ]; then
77
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_x86 > /dev/null &" >> $setup
77
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_x86 > /dev/null &" >> $setup
78
78
echo " spinner \$ ! \" Installing x86 tools...\" " >> $setup
79
79
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
80
80
echo " echo \"\" " >> $setup
81
81
fi
82
82
83
83
if [ -n " $file_gcc_arm " ]; then
84
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_arm > /dev/null &" >> $setup
84
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_arm > /dev/null &" >> $setup
85
85
echo " spinner \$ ! \" Installing arm tools...\" " >> $setup
86
86
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
87
87
echo " echo \"\" " >> $setup
88
88
fi
89
89
90
90
if [ -n " $file_gcc_arc " ]; then
91
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_arc > /dev/null &" >> $setup
91
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_arc > /dev/null &" >> $setup
92
92
echo " spinner \$ ! \" Installing arc tools...\" " >> $setup
93
93
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
94
94
echo " echo \"\" " >> $setup
95
95
fi
96
96
97
97
if [ -n " $file_gcc_iamcu " ]; then
98
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_iamcu > /dev/null &" >> $setup
98
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_iamcu > /dev/null &" >> $setup
99
99
echo " spinner \$ ! \" Installing iamcu tools...\" " >> $setup
100
100
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
101
101
echo " echo \"\" " >> $setup
102
102
fi
103
103
104
104
if [ -n " $file_gcc_mips " ]; then
105
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_mips > /dev/null &" >> $setup
105
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_mips > /dev/null &" >> $setup
106
106
echo " spinner \$ ! \" Installing mips tools...\" " >> $setup
107
107
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
108
108
echo " echo \"\" " >> $setup
109
109
fi
110
110
111
111
if [ -n " $file_gcc_nios2 " ]; then
112
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_nios2 > /dev/null &" >> $setup
112
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_nios2 > /dev/null &" >> $setup
113
113
echo " spinner \$ ! \" Installing nios2 tools...\" " >> $setup
114
114
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
115
115
echo " echo \"\" " >> $setup
116
116
fi
117
117
118
118
if [ -n " $file_gcc_xtensa " ]; then
119
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_xtensa > /dev/null &" >> $setup
119
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_xtensa > /dev/null &" >> $setup
120
120
echo " spinner \$ ! \" Installing xtensa tools...\" " >> $setup
121
121
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
122
122
echo " echo \"\" " >> $setup
123
123
fi
124
124
125
125
if [ -n " $file_gcc_riscv32 " ]; then
126
- echo " tar -C \$ target_sdk_dir -xf ./$file_gcc_riscv32 > /dev/null &" >> $setup
126
+ echo " tar -C \$ target_sdk_dir -jxf ./$file_gcc_riscv32 > /dev/null &" >> $setup
127
127
echo " spinner \$ ! \" Installing riscv32 tools...\" " >> $setup
128
128
echo " [ \$ ? -ne 0 ] && echo \" Error(s) encountered during installation.\" && exit 1" >> $setup
129
129
echo " echo \"\" " >> $setup
0 commit comments