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