Small change about Linux getfattr usage in releng/auto_isocontent

This commit is contained in:
Thomas Schmitt 2011-08-29 12:40:06 +00:00
parent d2f368ed3f
commit 025f014241

View File

@ -139,7 +139,7 @@ extattrs=no
if ( setfattr -n user.test_xattr -v test_value "$acl_xattr_test_file" ) \ if ( setfattr -n user.test_xattr -v test_value "$acl_xattr_test_file" ) \
>/dev/null 2>&1 >/dev/null 2>&1
then then
if ( getfattr "$acl_xattr_test_file" ) >/dev/null 2>&1 if ( getfattr -d "$acl_xattr_test_file" ) >/dev/null 2>&1
then then
xattrs=yes xattrs=yes
setfattr -n user.long_data -v 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 "$acl_xattr_test_file" setfattr -n user.long_data -v 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 "$acl_xattr_test_file"