summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-02-03 12:11:04 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-02-03 12:11:04 +0000
commitf74060c4f2131a394cf57663cd44646db30bccc1 (patch)
tree65cf9364d2275b0fe62e4e2ed7e3da03d3a0fb01 /scripts/patchfns.in
parentb525508472d3c3dbf4970b209d31ed1dd6e45edc (diff)
downloadquilt-f74060c4f2131a394cf57663cd44646db30bccc1.tar.gz
- Add --quiltrc={rcfile|-} option. Remove some superfluous quoting
from quilt wrapper. - Extra tests in `quilt refresh' did not check if the old patch was missing.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 1ec7ce4..d3e5d25 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -7,19 +7,19 @@
#
# See the COPYING and AUTHORS files for more details.
-ORIINAL_LANG=$LANG
+ORIGINAL_LANG=$LANG
export LANG=POSIX
export TEXTDOMAIN=quilt
-if [ -e $HOME/.quiltrc ]
-then
- . $HOME/.quiltrc
-fi
-
: ${QUILT_PATCHES:=patches}
: ${QUILT_PC:=.pc}
+if [ -e "$QUILTRC" ]
+then
+ source "$QUILTRC"
+fi
+
#
# If the working directory does not contain a $QUILT_PATCHES directory,
# quilt searches for its base directory up the directory tree. If no