From 290627dee4f99dbb451974b333482d9b27336ed3605c10be2be1deccee575bf1 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 11 Dec 2014 10:19:53 +0000 Subject: [PATCH] Accepting request 261935 from home:Ledest:bashisms fix bashisms in install_bcm43xx_firmware script OBS-URL: https://build.opensuse.org/request/show/261935 OBS-URL: https://build.opensuse.org/package/show/hardware/b43-fwcutter?expand=0&rev=24 --- b43-fwcutter.changes | 5 +++++ b43-fwcutter.spec | 2 +- install_bcm43xx_firmware | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/b43-fwcutter.changes b/b43-fwcutter.changes index 8c5a781..785d2a5 100644 --- a/b43-fwcutter.changes +++ b/b43-fwcutter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 16 18:43:00 UTC 2014 - Led + +- fix bashism in install_bcm43xx_firmware script + ------------------------------------------------------------------- Tue Nov 11 19:00:19 UTC 2014 - p.drouand@gmail.com diff --git a/b43-fwcutter.spec b/b43-fwcutter.spec index f54112c..1db14dc 100644 --- a/b43-fwcutter.spec +++ b/b43-fwcutter.spec @@ -1,7 +1,7 @@ # # spec file for package b43-fwcutter # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/install_bcm43xx_firmware b/install_bcm43xx_firmware index 52d2564..e89899d 100644 --- a/install_bcm43xx_firmware +++ b/install_bcm43xx_firmware @@ -20,7 +20,7 @@ test -d /lib/firmware || mkdir -p /lib/firmware TMPDIR=$(mktemp -d /var/tmp/bcm.XXXXXX) || exit 1 -pushd $TMPDIR >/dev/null +cd $TMPDIR echo "Downloading b43 firmware" curl -# -f -o $FILE1 $URL1/$FILE1 @@ -58,7 +58,7 @@ else echo "b43legacy firmware installation failed." fi -popd >/dev/null +cd - >/dev/null rm -rf $TMPDIR exit 0