Package: dpatch
Version: 2.0.27
Severity: normal
Tags: patch


dpatch fails when $HOME contains spaces. Consider the patch below.

Martin


--- dpatch.orig 2007-08-03 14:32:04.000000000 +0200
+++ dpatch      2007-08-29 13:22:49.000000000 +0200
@@ -15,12 +15,12 @@

 SYSCONFDIR='/etc'

-if [ -e ${SYSCONFDIR}/dpatch.conf ]; then
-       . ${SYSCONFDIR}/dpatch.conf
+if [ -e "${SYSCONFDIR}/dpatch.conf" ]; then
+       . "${SYSCONFDIR}/dpatch.conf"
 fi

-if [ -e ${HOME}/.dpatch.conf ]; then
-       . ${HOME}/.dpatch.conf
+if [ -e "${HOME}/.dpatch.conf" ]; then
+       . "${HOME}/.dpatch.conf"
 fi

 # (---- beginning of dpatch_help.shpp ----)





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to