summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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