[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] [PATCH] lvm-utils.sh (init_root_dir_): Correct a diagnostic.



Here's a tiny correction for a test-related script.
Noticed in another context (GNU Parted) that the "$"
must be escaped: that variable is obviously not defined, there.

>From 5c0c3e10efdd46537f6af013b391b4dfa48c3715 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering redhat com>
Date: Fri, 6 Jun 2008 13:58:54 +0200
Subject: [PATCH] * lvm-utils.sh (init_root_dir_): Correct a diagnostic.

---
 test/lvm-utils.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/lvm-utils.sh b/test/lvm-utils.sh
index b2ef775..2aba445 100644
--- a/test/lvm-utils.sh
+++ b/test/lvm-utils.sh
@@ -1,7 +1,7 @@
 # Put lvm-related utilities here.
 # This file is sourced from test-lib.sh.

-# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2007, 2008 Red Hat, Inc. All rights reserved.
 #
 # This copyrighted material is made available to anyone wishing to use,
 # modify, copy, or redistribute it subject to the terms and conditions
@@ -112,7 +112,7 @@ init_root_dir_()
 {
   test -n "$test_dir_rand_" \
     || error "Internal error: called init_root_dir_ before" \
-      " defining $test_dir_rand_"
+      "defining \$test_dir_rand_"

   # Define these two globals.
   G_root_=$test_dir_rand_/root
--
1.5.6.rc0.30.g7c3f3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]