Since ls -l's mode string may not be separated from the next field by
a space (i.e. when ACLs, etc. are involved), take only the first 10
characters for now when retrieving the symlink mode string (cf.
30d9027cc5444f038d38927219dc59e3b69fa219).
Thanks to Mark J Hewitt <mjh@idnet.com> for pointing out the problem
and testing the solution.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
d--------- ?/? 0 1970-01-01 00:00 .tag/
d--------- ?/? 0 1970-01-01 00:00 src/"
-symlink_mode="$(WVPASS ls -l src/symlink | cut -d' ' -f 1)" || exit $?
+symlink_mode="$(WVPASS ls -l src/symlink | cut -b -10)" || exit $?
symlink_size="$(WVPASS python -c "import os
print os.lstat('src/symlink').st_size")" || exit $?