runqemu: Use readlink instead of realpath
PATCH 1/1 runqemu: Use readlink instead of realpath
Signed-off-by Saul Wold <[email protected]>
--- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/runqemu +1 -1
@@ -464,7 +464,7 @@ if [ -z "$ROOTFS" -a "x$FSTYPE" != "xvmdk" ]; then fi # ROOTFS is now set for all cases, now expand it to be an absolute path, it should exist at this point -ROOTFS=`realpath $ROOTFS` +ROOTFS=`readlink -f $ROOTFS` echo "" echo "Continuing with the following parameters:"
Signature · 1 line
1.8.3.1
Quoted 10 lines · Saul Wold
Signed-off-by Saul Wold <[email protected]>--- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/runqemu +0
-0
scripts/runqemu if [ -z "$ROOTFS" -a "x$FSTYPE" != "xvmdk" ]; then · line 467
Quoted 5 lines
scripts/runqemu +1
-1@@ -464,7 +464,7 @@ if [ -z "$ROOTFS" -a "x$FSTYPE" != "xvmdk" ]; then fi # ROOTFS is now set for all cases, now expand it to be an absolute path, it should exist at this point -ROOTFS=`realpath $ROOTFS` +ROOTFS=`readlink -f $ROOTFS`
this is much better