mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 00:46:38 +00:00
rootfs: Change realpath for readlink
readlink is more common than realpath Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
script_name="${0##*/}"
|
script_name="${0##*/}"
|
||||||
script_dir="$(dirname $(realpath -s $0))"
|
script_dir="$(dirname $(readlink -f $0))"
|
||||||
ROOTFS_DIR=${ROOTFS_DIR:-${PWD}/rootfs}
|
ROOTFS_DIR=${ROOTFS_DIR:-${PWD}/rootfs}
|
||||||
AGENT_VERSION=${AGENT_VERSION:-master}
|
AGENT_VERSION=${AGENT_VERSION:-master}
|
||||||
GO_AGENT_PKG=${GO_AGENT_PKG:-github.com/kata-containers/agent}
|
GO_AGENT_PKG=${GO_AGENT_PKG:-github.com/kata-containers/agent}
|
||||||
|
Reference in New Issue
Block a user