All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dracut-gencmdline: fix freadlink() on debian
@ 2009-10-29  9:26 Alan Jenkins
  0 siblings, 0 replies; only message in thread
From: Alan Jenkins @ 2009-10-29  9:26 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

In Debian, readlink lives in /bin.

diff --git a/dracut-gencmdline b/dracut-gencmdline
index 689f49e..978f5a2 100755
--- a/dracut-gencmdline
+++ b/dracut-gencmdline
@@ -154,7 +154,7 @@ qpopd() {
 
 
 freadlink() {
-    /usr/bin/readlink -f "$1"
+    readlink -f "$1"
 }
 
 resolve_device_name() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-29  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29  9:26 [PATCH] dracut-gencmdline: fix freadlink() on debian Alan Jenkins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.