Remove -n 1 argument from the xargs invocation in blackbox_shred_all_files.

The -I and -n options are mutually-exclusive, don't work as
expected with xargs from SunOS, and appear to be unecessary anyway.
This commit is contained in:
Travis Paul
2018-11-30 13:51:01 +08:00
parent 3594a3124e
commit f681872c4d

View File

@@ -45,6 +45,6 @@ if bash --help | grep import-functions >/dev/null 2>/dev/null; then
fi
export IFS=
tr '\n' '\0' <"$BB_FILES" | xargs -0 -I{} -n 1 -P $MAX_PARALLEL_SHRED bash $bash_args -c "exported_internal_shred_file $DEREFERENCED_BIN_DIR \"{}\"" $DEREFERENCED_BIN_DIR/fake
tr '\n' '\0' <"$BB_FILES" | xargs -0 -I{} -P $MAX_PARALLEL_SHRED bash $bash_args -c "exported_internal_shred_file $DEREFERENCED_BIN_DIR \"{}\"" $DEREFERENCED_BIN_DIR/fake
echo '========== DONE.'