Check for GNU tar to avoid MAC OS specific files
GNU tar bundles extended attributes from HFS+ into the tar which breaks builds on other OS
diff --git a/check_environment.sh b/check_environment.sh
index 62c5677..16bd983 100755
--- a/check_environment.sh
+++ b/check_environment.sh
@@ -46,6 +46,9 @@
if ! (sed --version 2>/dev/null | grep -q "GNU"); then
echo "Warning: You are not using GNU sed. Some scripts may not work. If you are using Mac, install gnu-sed (brew install gnu-sed) and make sure that sed points to it (alias sed=\"gsed\")."
fi
+if ! (tar --version 2>/dev/null | grep -q "GNU"); then
+ echo "Warning: You are not using GNU tar. Some scripts may not work. If you are using Mac, install gnu-tar (brew install gnu-tar) and make sure that sed points to it (alias tar=\"gtar\")."
+fi
echo -e "\nMaven/Java version:"
${MVN} --version