summaryrefslogtreecommitdiff
path: root/linaro_devices/extract-linaro_devices.sh
blob: 52de38a68902ae076bf50e4e688006e6f8784e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
#
# (C) Linaro Ltd.

more << __EOF__

***** Extracting Firmware Binaries *****

__EOF__

tail -n +24 $0 | tar zxv

if test $? != 0
then
  echo
  echo ERROR: Couldn\'t extract files. 1>&2
  exit 3
else
  echo
  echo Files extracted successfully.
fi
exit 0