pkgdep: Copy the bash-completion file instead of creating a symlink

Symlink requires repo to be around, having a hard copy allows it to
be used standalone.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: If5aa354b10762805394418e9c9c0d171623ba093
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8446
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
This commit is contained in:
Michal Berger 2021-06-21 14:01:56 +02:00 committed by Tomasz Zawadzki
parent de1df7a17d
commit 095df6b25a

View File

@ -75,7 +75,7 @@ install_spdk_bash_completion() {
mkdir -p "$compat_dir"
if [[ ! -e $compat_dir/spdk ]]; then
ln -vs "$scriptsdir/bash-completion/spdk" "$compat_dir"
cp -v "$scriptsdir/bash-completion/spdk" "$compat_dir"
fi
}