We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98e3f51 + 90b73a0 commit 49db988Copy full SHA for 49db988
start_build_node_env.sh
@@ -5,6 +5,23 @@ if [ $# -ne 1 ]; then
5
exit 1
6
fi
7
export EESSI_TMPDIR=$1
8
+
9
+# make sure that specified location has support for extended attributes,
10
+# since that's required by CernVM-FS
11
+command -v attr &> /dev/null
12
+if [ $? -eq 0 ]; then
13
+ testfile=$(mktemp -p $EESSI_TMPDIR)
14
+ attr -s test -V test $testfile > /dev/null
15
+ if [ $? -ne 0 ]; then
16
+ echo "ERROR: $EESSI_TMPDIR does not support extended attributes!" >&2
17
+ exit 2
18
+ else
19
+ rm $testfile
20
+ fi
21
+else
22
+ echo "WARNING: 'attr' command not available, so can't check support for extended attributes..." >&2
23
+fi
24
25
echo "Using $EESSI_TMPDIR as parent for temporary directories..."
26
27
# create temporary directories
0 commit comments