aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2017-03-15 14:58:00 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-03-17 19:33:05 +0000
commit06f0b1a602c4c6179b22e613160ac4298db8ff3a (patch)
treed0ec861b79bd9ea2790aebcfc8bbac4a2e9c7b68 /meta-agl-bsp/meta-rcar-gen3
parentc88a0f0a1f38d21a5209c73d7dbcfda363635681 (diff)
meta-rcar: don't cd; just unzip
This is slightly cleaner and better for handling failure cases. Change-Id: I824308fc7c8ca8def86b7470a5226a6eff91f51c Signed-off-by: Martin Kelly <mkelly@xevo.com>
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3')
-rw-r--r--meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh b/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
index 83ccd5097..bd82f4e36 100644
--- a/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
+++ b/meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh
@@ -12,10 +12,8 @@ function copy_mm_packages() {
if [ ! -d $METADIR/binary-tmp ]; then
if [ -f $DOWNLOAD_DIR/$ZIP_1 -a -f $DOWNLOAD_DIR/$ZIP_2 ]; then
mkdir $METADIR/binary-tmp
- cd $METADIR/binary-tmp
- unzip -o $DOWNLOAD_DIR/$ZIP_1
- unzip -o $DOWNLOAD_DIR/$ZIP_2
- cd -
+ unzip -o $DOWNLOAD_DIR/$ZIP_1 -d $METADIR/binary-tmp
+ unzip -o $DOWNLOAD_DIR/$ZIP_2 -d $METADIR/binary-tmp
else
echo -n "The graphics and multimedia acceleration packages for "
echo -e "the R-Car Gen3 board can be download from :"