sharkcz pushed to s390utils (master). "- remove bashism from zfcpconf.sh"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 7 12:05:03 UTC 2015
>From 417b9f047d303df621f28c983ee50f8a9448292d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan at danny.cz>
Date: Tue, 7 Apr 2015 14:04:00 +0200
Subject: - remove bashism from zfcpconf.sh
diff --git a/s390utils.spec b/s390utils.spec
index 0352c1a..1c985ca 100644
--- a/s390utils.spec
+++ b/s390utils.spec
@@ -5,7 +5,7 @@ Name: s390utils
Summary: Utilities and daemons for IBM System/z
Group: System Environment/Base
Version: 1.23.0
-Release: 14%{?dist}
+Release: 15%{?dist}
Epoch: 2
License: GPLv2 and GPLv2+ and CPL
ExclusiveArch: s390 s390x
@@ -753,6 +753,9 @@ User-space development files for the s390/s390x architecture.
%changelog
+* Tue Apr 07 2015 Dan Horák <dan[at]danny.cz> - 2:1.23.0-15
+- remove bashism from zfcpconf.sh
+
* Wed Jan 28 2015 Dan Horák <dan[at]danny.cz> - 2:1.23.0-14
- refresh from RHEL-7
- update patches
diff --git a/zfcpconf.sh b/zfcpconf.sh
index b2da28f..45d10a1 100644
--- a/zfcpconf.sh
+++ b/zfcpconf.sh
@@ -46,7 +46,7 @@ if [ -f "$CONFIG" ]; then
WWPN=$2
FCPLUN=$3
fi
- [ `cat /sys/bus/ccw/drivers/zfcp/${DEVICE}/online` == "0" ] \
+ [ `cat /sys/bus/ccw/drivers/zfcp/${DEVICE}/online` = "0" ] \
&& echo 1 > /sys/bus/ccw/drivers/zfcp/${DEVICE}/online
[ ! -d /sys/bus/ccw/drivers/zfcp/${DEVICE}/${WWPN}/${FCPLUN} ] \
&& echo $FCPLUN > /sys/bus/ccw/drivers/zfcp/${DEVICE}/${WWPN}/unit_add
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/s390utils.git/commit/?h=master&id=417b9f047d303df621f28c983ee50f8a9448292d
More information about the scm-commits
mailing list