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
This commit is contained in:
Andreas Jaeger 2014-12-11 10:19:53 +00:00 committed by Git OBS Bridge
parent ba6fec839d
commit 290627dee4
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 16 18:43:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in install_bcm43xx_firmware script
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 11 19:00:19 UTC 2014 - p.drouand@gmail.com Tue Nov 11 19:00:19 UTC 2014 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package b43-fwcutter # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@ -20,7 +20,7 @@ test -d /lib/firmware || mkdir -p /lib/firmware
TMPDIR=$(mktemp -d /var/tmp/bcm.XXXXXX) || exit 1 TMPDIR=$(mktemp -d /var/tmp/bcm.XXXXXX) || exit 1
pushd $TMPDIR >/dev/null cd $TMPDIR
echo "Downloading b43 firmware" echo "Downloading b43 firmware"
curl -# -f -o $FILE1 $URL1/$FILE1 curl -# -f -o $FILE1 $URL1/$FILE1
@ -58,7 +58,7 @@ else
echo "b43legacy firmware installation failed." echo "b43legacy firmware installation failed."
fi fi
popd >/dev/null cd - >/dev/null
rm -rf $TMPDIR rm -rf $TMPDIR
exit 0 exit 0