Permalink
Browse files

Fix file quoting problem in processing .etckeeper file in init.

  • Loading branch information...
1 parent 577f128 commit 2d0ed93eb86b6dc2db9935fb81d3ea58530cc4ca @joeyh joeyh committed Sep 13, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 debian/changelog
  2. +1 −1 init.d/20restore-etckeeper
View
@@ -8,6 +8,7 @@ etckeeper (0.49) UNRELEASED; urgency=low
itself as of version 1.7.4p4, so it is not necessary for etckeeper
to work around its behavior anymore. (sudo also allows disabling that
for those who enjoy using guns around feet.) Closes: #583899
+ * Fix file quoting problem in processing .etckeeper file in init.
-- Joey Hess <joeyh@debian.org> Sun, 25 Jul 2010 19:44:37 -0400
@@ -7,7 +7,7 @@ maybe () {
command="$1"
shift 1
- if eval [ -e "\$$#" ]; then
+ if eval [ -e "\"\$$#\"" ]; then
"$command" "$@"
fi
}

0 comments on commit 2d0ed93

Please sign in to comment.