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:
Jose Carlos Venegas Munoz 2018-01-18 23:42:42 -06:00
parent be3266fb00
commit 853ef22eef

View File

@ -7,7 +7,7 @@
set -e
script_name="${0##*/}"
script_dir="$(dirname $(realpath -s $0))"
script_dir="$(dirname $(readlink -f $0))"
ROOTFS_DIR=${ROOTFS_DIR:-${PWD}/rootfs}
AGENT_VERSION=${AGENT_VERSION:-master}
GO_AGENT_PKG=${GO_AGENT_PKG:-github.com/kata-containers/agent}