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'. --- libreboot | 2 +- 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 +- projects/libreboot-release/install/libreboot-release | 2 +- projects/libreboot-sources/install/libreboot-sources | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libreboot b/libreboot index 13211d69..f02de202 100755 --- a/libreboot +++ b/libreboot @@ -133,7 +133,7 @@ libreboot_tool() { } libreboot_setup() { - root="$(realpath "$(dirname "$0")")" + root="$(readlink -f "$(dirname "$0")")" executable="$(basename "$0")" local requirements="git" 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" ] diff --git a/projects/libreboot-release/install/libreboot-release b/projects/libreboot-release/install/libreboot-release index 3dd85336..b916adac 100644 --- a/projects/libreboot-release/install/libreboot-release +++ b/projects/libreboot-release/install/libreboot-release @@ -246,7 +246,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) if [ -z "$MACHINE" ] diff --git a/projects/libreboot-sources/install/libreboot-sources b/projects/libreboot-sources/install/libreboot-sources index 953d4a1e..d2f19753 100755 --- a/projects/libreboot-sources/install/libreboot-sources +++ b/projects/libreboot-sources/install/libreboot-sources @@ -103,7 +103,7 @@ requirements() { } setup() { - root=$( realpath "$( dirname "$0" )" ) + root=$(readlink -f "$( dirname "$0" )" ) executable=$( basename "$0" ) } -- cgit v1.2.3-70-g09d2