summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2007-04-09 10:21:54 +0000
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2007-04-09 10:21:54 +0000
commit04335d0eea3c436680470d4696238f677c52ed37 (patch)
treed5fdd02e92280e6a4695bb9bbfb90d51f7e38827
parentb5d71830bcc08f491b95b04acc78f39159f5b337 (diff)
downloadwgetpaste-04335d0eea3c436680470d4696238f677c52ed37.tar.gz
Use LC_MESSAGES=C for wget.
-rwxr-xr-xwgetpaste4
1 files changed, 2 insertions, 2 deletions
diff --git a/wgetpaste b/wgetpaste
index 2eda5c5..893f5e4 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -544,9 +544,9 @@ RECIPIENT="$(getrecipient RAW)"
# paste it
WGET_ARGS="--tries=5 --timeout=60 ${WGET_ARGS}"
if geturl needstdout || [[ ${DEBUG} || ! -w /dev/null ]]; then
- OUTPUT="$(wget -O - ${WGET_ARGS} ${RECIPIENT} 2>&1)"
+ OUTPUT="$(LC_MESSAGES=C wget -O - ${WGET_ARGS} ${RECIPIENT} 2>&1)"
else
- OUTPUT="$(wget -O /dev/null ${WGET_ARGS} ${RECIPIENT} 2>&1)"
+ OUTPUT="$(LC_MESSAGES=C wget -O /dev/null ${WGET_ARGS} ${RECIPIENT} 2>&1)"
fi
# clean temporary file if it was created