summaryrefslogtreecommitdiff
path: root/sys-cluster/charliecloud/files/charliecloud-0.24-dash.patch
blob: f03dc5e5b1aa5840788dd74d5ec8929b0ac8e4d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
https://github.com/hpc/charliecloud/pull/1111

From e540ad8148ba451349f4c4a7f983096ff0f6e60c Mon Sep 17 00:00:00 2001
From: Oliver Freyermuth <o.freyermuth@googlemail.com>
Date: Wed, 30 Jun 2021 21:38:54 +0200
Subject: [PATCH] configure: Remove bashism from squashfuse version check.
--- a/configure.ac
+++ b/configure.ac
@@ -380,7 +380,7 @@ CH_CHECK_VERSION([SHELLCHECK], [$vmin_shellcheck],
 vmin_squashfuse=0.1.100  # Ubuntu 16.04 (Xenial). CentOS 7 has 0.1.102.
 AC_CHECK_PROG([SQUASHFUSE], [squashfuse], [squashfuse])
 CH_CHECK_VERSION([SQUASHFUSE], [$vmin_squashfuse],
-                 [--help |& head -1 | cut -d' ' -f2])
+                 [--help 2>&1 | head -1 | cut -d' ' -f2])
 
 # sudo, generic
 # Avoids prompting for password; see https://superuser.com/a/1183480.