Commit 095df6b2 authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

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: default avatarMichal Berger <michalx.berger@intel.com>
Change-Id: If5aa354b10762805394418e9c9c0d171623ba093
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8446


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarPawel Piatek <pawelx.piatek@intel.com>
parent de1df7a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
}