mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Merge pull request #36 from openappsec/WrightNed-patch-1
Update cp-agent-info.sh
This commit is contained in:
commit
ebc2b2be0d
@ -224,8 +224,8 @@ fi
|
||||
if [ -n "${SPLIT_DIR}" ]; then
|
||||
mkdir -p "$SPLIT_DIR"
|
||||
unsplited_tar="${CP_UNSPLITED_DIR}/agent-info.tar.gz"
|
||||
if [ "$IS_SMB" != "1" ]; then
|
||||
TAR_EXTRA_PARAMS="-P"
|
||||
if [ `tar --help | grep absolute-names | wc -l` = "1" ]; then
|
||||
TAR_EXTRA_PARAMS="--absolute-names"
|
||||
else
|
||||
TAR_EXTRA_PARAMS=""
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user