aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2017-05-19 23:17:13 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2017-05-19 23:19:41 -0400
commit8d6b673a29e21c0d60b54bb8049bdd406a7377b5 (patch)
treec5114e17588c2444e92eedd78caa0077f81f934a
parent28cce2965ed436a2e71203c8c04457c793b8a026 (diff)
downloadlibrebootfr-8d6b673a29e21c0d60b54bb8049bdd406a7377b5.tar.gz
librebootfr-8d6b673a29e21c0d60b54bb8049bdd406a7377b5.zip
Calls to external command 'realpath' replaced w/ 'readlink -f'.
-rwxr-xr-xlibreboot2
-rwxr-xr-xprojects/cros-scripts/install/cros-boot-keys2
-rwxr-xr-xprojects/cros-scripts/install/cros-firmware-prepare2
-rwxr-xr-xprojects/cros-scripts/install/cros-kernel-install2
-rwxr-xr-xprojects/cros-scripts/install/cros-kernel-prepare2
-rwxr-xr-xprojects/cros-scripts/install/cros-medium-setup2
-rw-r--r--projects/libreboot-release/install/libreboot-release2
-rwxr-xr-xprojects/libreboot-sources/install/libreboot-sources2
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" )
}