Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dracut.4966
0096-dracut-Fix-error-local-can-only-be-used-in...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0096-dracut-Fix-error-local-can-only-be-used-in-a-functio.patch of Package dracut.4966
From 3dc48f4ee656529936a6021fb0f0885ece2dc26e Mon Sep 17 00:00:00 2001 From: Thomas Renninger <trenn@suse.de> Date: Thu, 3 Jul 2014 15:16:42 +0200 Subject: dracut: Fix error: local: can only be used in a function Signed-off-by: Thomas Renninger <trenn@suse.de> --- modules.d/98systemd/dracut-pre-udev.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules.d/98systemd/dracut-pre-udev.sh b/modules.d/98systemd/dracut-pre-udev.sh index 77977d2..68021aa 100755 --- a/modules.d/98systemd/dracut-pre-udev.sh +++ b/modules.d/98systemd/dracut-pre-udev.sh @@ -26,10 +26,12 @@ fi for i in $(getargs rd.driver.pre -d rdloaddriver=); do ( - local IFS=, + _IFS="$IFS" + IFS=, for p in $i; do modprobe $p 2>&1 | vinfo done + IFS="$_IFS" ) done @@ -38,10 +40,12 @@ done for i in $(getargs rd.driver.blacklist -d rdblacklist=); do ( - local IFS=, + _IFS="$IFS" + IFS=, for p in $i; do echo "blacklist $p" >> $_modprobe_d/initramfsblacklist.conf done + IFS="$_IFS" ) done -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor