From 4992eda0f72f3ac5e5478674a11f1e3dcb10d969 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 17 Apr 2010 07:53:17 +0000 Subject: [PATCH 1/3] Quote path for die snippet display. Added missing quoting around the path passed to sed when displaying ebuild snippet on die(). This should fix the issue where they weren't displayed due to the occurence of special characters in the path. --- bin/isolated-functions.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 89e5e4b..5401e25 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -123,7 +123,7 @@ die() { # erase the line and set the hold buffer to it (thus # erasing the hold buffer in the process) /[^\]$/{s:^.*$::;h}' \ - ${BASH_SOURCE[1]} \ + "${BASH_SOURCE[1]}" \ | sed -e '1d' -e 's:^:RETAIN-LEADING-SPACE:' \ | while read -r n ; do eerror " ${n#RETAIN-LEADING-SPACE}" ; done eerror -- 1.7.0.4