From b8bc13c3d02dfc439f065cc1c9850b744ebdb68c Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Fri, 13 Oct 2017 15:22:39 +0200 Subject: [PATCH] Fix check of realpath to not print path to console --- alpine-make-vm-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine-make-vm-image b/alpine-make-vm-image index 5b9f7ed..52f6c72 100755 --- a/alpine-make-vm-image +++ b/alpine-make-vm-image @@ -85,7 +85,7 @@ readonly VIRTUAL_PKG=".make-$PROGNAME" # For compatibility with systems that does not have "realpath" command. -if ! command -v realpath 2>/dev/null; then +if ! command -v realpath >/dev/null; then alias realpath='readlink -f' fi