[tracker-miners] meson: fix bashism in equality check
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners] meson: fix bashism in equality check
- Date: Mon, 19 Nov 2018 00:28:42 +0000 (UTC)
commit 382de9a4e555c2a29be56603e0b828753797a49c
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Sun Nov 18 16:42:53 2018 -0500
meson: fix bashism in equality check
Thanks https://rgeissert.blogspot.com/2012/12/a-bashism-week-testing-for-equality.html
and checkbashisms from Debian's devscripts
Closes: https://gitlab.gnome.org/GNOME/tracker-miners/issues/38
src/create-miner-symlinks.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/create-miner-symlinks.sh b/src/create-miner-symlinks.sh
index b4c2f00bf..5280a476e 100644
--- a/src/create-miner-symlinks.sh
+++ b/src/create-miner-symlinks.sh
@@ -13,9 +13,9 @@ have_tracker_miner_rss="$4"
mkdir -p ${DESTDIR}/${tracker_miner_services_dir}
ln -sf "${dbus_services_dir}/org.freedesktop.Tracker1.Miner.Extract.service"
"${DESTDIR}/${tracker_miner_services_dir}/"
-if [[ "$have_tracker_miner_fs" == "true" ]]; then
+if ([ "$have_tracker_miner_fs" = "true" ]); then
ln -sf "${dbus_services_dir}/org.freedesktop.Tracker1.Miner.Files.service"
"${DESTDIR}/${tracker_miner_services_dir}/"
fi
-if [[ "$have_tracker_miner_rss" == "true" ]]; then
+if ([ "$have_tracker_miner_rss" = "true" ]); then
ln -sf "${dbus_services_dir}/org.freedesktop.Tracker1.Miner.RSS.service"
"${DESTDIR}/${tracker_miner_services_dir}/"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]