From 8d6b673a29e21c0d60b54bb8049bdd406a7377b5 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Fri, 19 May 2017 23:17:13 -0400 Subject: Calls to external command 'realpath' replaced w/ 'readlink -f'. --- projects/cros-scripts/install/cros-boot-keys | 2 +- projects/cros-scripts/install/cros-firmware-prepare | 2 +- projects/cros-scripts/install/cros-kernel-install | 2 +- projects/cros-scripts/install/cros-kernel-prepare | 2 +- projects/cros-scripts/install/cros-medium-setup | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'projects/cros-scripts') diff --git a/projects/cros-scripts/install/cros-boot-keys b/projects/cros-scripts/install/cros-boot-keys index cf239718..416b7604 100755 --- a/projects/cros-scripts/install/cros-boot-keys +++ b/projects/cros-scripts/install/cros-boot-keys @@ -158,7 +158,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) if [ -z "$KEYS_VERSION" ] diff --git a/projects/cros-scripts/install/cros-firmware-prepare b/projects/cros-scripts/install/cros-firmware-prepare index d225e565..73820f05 100755 --- a/projects/cros-scripts/install/cros-firmware-prepare +++ b/projects/cros-scripts/install/cros-firmware-prepare @@ -244,7 +244,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) if ! [ -z "$VBOOT_TOOLS_PATH" ] diff --git a/projects/cros-scripts/install/cros-kernel-install b/projects/cros-scripts/install/cros-kernel-install index 33168caa..589a36c0 100755 --- a/projects/cros-scripts/install/cros-kernel-install +++ b/projects/cros-scripts/install/cros-kernel-install @@ -228,7 +228,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) if ! [ -z "$VBOOT_TOOLS_PATH" ] diff --git a/projects/cros-scripts/install/cros-kernel-prepare b/projects/cros-scripts/install/cros-kernel-prepare index 71a88cf8..4f374db4 100755 --- a/projects/cros-scripts/install/cros-kernel-prepare +++ b/projects/cros-scripts/install/cros-kernel-prepare @@ -95,7 +95,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) if ! [ -z "$VBOOT_TOOLS_PATH" ] diff --git a/projects/cros-scripts/install/cros-medium-setup b/projects/cros-scripts/install/cros-medium-setup index ffb4d894..c3419868 100755 --- a/projects/cros-scripts/install/cros-medium-setup +++ b/projects/cros-scripts/install/cros-medium-setup @@ -250,7 +250,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) if [ -z "$KERNEL_PATH" ] -- cgit v1.2.3-70-g09d2