From 6245469bddd43050bd1c205a4d7b4dc45c2e1b59 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 26 Nov 2011 12:25:01 +0100 Subject: [PATCH] replace realpath with readlink -f to avoid dependency on realpath Thanks to Christian for reporting. --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grml-live b/grml-live index d04f6f5..168f6fe 100755 --- a/grml-live +++ b/grml-live @@ -151,7 +151,7 @@ umount_all() { # certain FAI versions sadly leave a ramdisk behind, so better safe than sorry if [ -x /usr/lib/fai/mkramdisk ] ; then - /usr/lib/fai/mkramdisk -u "$(realpath ${CHROOT_OUTPUT}/var/lib/dpkg)" >/dev/null 2>&1 || /bin/true + /usr/lib/fai/mkramdisk -u "$(readlink -f ${CHROOT_OUTPUT}/var/lib/dpkg)" >/dev/null 2>&1 || /bin/true fi umount "${CHROOT_OUTPUT}/grml-live/sources/" 2>/dev/null || /bin/true -- 2.1.4