summaryrefslogblamecommitdiff
path: root/system/kbd/fix-tests.patch
blob: 0ca82420c780df506f3e7be9f9b53d2402671466 (plain) (tree)








































                                                                              
busybox readlink doesn't accept -e, and in these cases -f has the same effect.
--- a/tests/alt-is-meta.in
+++ b/tests/alt-is-meta.in
@@ -1,6 +1,6 @@
 #!/bin/sh -efu
 
-cwd="$(readlink -ev "${0%/*}")"
+cwd="$(readlink -fv "${0%/*}")"
 
 cd "$cwd"
 
--- a/tests/dumpkeys-bkeymap.in
+++ b/tests/dumpkeys-bkeymap.in
@@ -1,6 +1,6 @@
 #!/bin/sh -efu
 
-cwd="$(readlink -ev "${0%/*}")"
+cwd="$(readlink -fv "${0%/*}")"
 
 cd "$cwd"
 
--- a/tests/dumpkeys-fulltable.in
+++ b/tests/dumpkeys-fulltable.in
@@ -1,6 +1,6 @@
 #!/bin/sh -efu
 
-cwd="$(readlink -ev "${0%/*}")"
+cwd="$(readlink -fv "${0%/*}")"
 
 cd "$cwd"
 
--- a/tests/dumpkeys-mktable.in
+++ b/tests/dumpkeys-mktable.in
@@ -1,6 +1,6 @@
 #!/bin/sh -efu
 
-cwd="$(readlink -ev "${0%/*}")"
+cwd="$(readlink -fv "${0%/*}")"
 
 cd "$cwd"