File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- embARC_OSP_REPO=" https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp.git"
2-
31die () {
42 echo " *** ERROR: " $*
53 exit 1
@@ -11,12 +9,13 @@ set -x
119
1210 export PATH=/tmp/arc_gnu_2017.09_prebuilt_elf32_le_linux_install/bin:$PATH || die
1311 git checkout -- . || die
14- cd ../ || die
15- tar -czvf application.tar.gz embarc_applications || die
16- cd embarc_applications || die
12+ git archive --format zip -o applications.zip --prefix embarc_applications/ HEAD || die
13+ [ $embARC_OSP_REPO ] || {
14+ embARC_OSP_REPO=" https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp.git"
15+ }
1716 git clone ${embARC_OSP_REPO} embarc_osp
1817 cd embarc_osp || die
19- tar -zxvf ../../application.tar.gz || die
18+ unzip ../applications.zip || die
2019 bash apply_embARC_patch.sh || die
2120 cd ../ || die
2221 cd .travis || die
You can’t perform that action at this time.
0 commit comments