a5bd9f6
From e6f215afa8ff4d586f71276fc12ea14eb1e6cd8b Mon Sep 17 00:00:00 2001
a5bd9f6
From: Colin Watson <cjwatson@ubuntu.com>
a5bd9f6
Date: Mon, 24 Sep 2012 18:50:35 +0100
a5bd9f6
Subject: [PATCH 046/364] * util/grub-install.in: Make the error message if
a5bd9f6
 $source_dir doesn't exist more useful.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog            | 5 +++++
a5bd9f6
 util/grub-install.in | 2 +-
a5bd9f6
 2 files changed, 6 insertions(+), 1 deletion(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index 3eda38f..a53c5cc 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,3 +1,8 @@
a5bd9f6
+2012-09-24  Colin Watson  <cjwatson@ubuntu.com>
a5bd9f6
+
a5bd9f6
+	* util/grub-install.in: Make the error message if $source_dir
a5bd9f6
+	doesn't exist more useful.
a5bd9f6
+
a5bd9f6
 2012-09-22  Colin Watson  <cjwatson@ubuntu.com>
a5bd9f6
 
a5bd9f6
 	Fix grub-emu build on FreeBSD.
a5bd9f6
diff --git a/util/grub-install.in b/util/grub-install.in
a5bd9f6
index e19f1cd..56be98f 100644
a5bd9f6
--- a/util/grub-install.in
a5bd9f6
+++ b/util/grub-install.in
a5bd9f6
@@ -330,7 +330,7 @@ if [ x$source_dir = x ]; then
a5bd9f6
 fi
a5bd9f6
 
a5bd9f6
 if ! [ -d "$source_dir" ]; then
a5bd9f6
-    gettext_printf "%s doesn't exist. Please specify --target or --directory\\n" "source_dir"
a5bd9f6
+    gettext_printf "%s doesn't exist. Please specify --target or --directory\\n" "$source_dir"
a5bd9f6
     exit 1
a5bd9f6
 fi
a5bd9f6
 
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6