+2014-04-23 Daiki Ueno <ueno@gnu.org>
+
+ autopoint: Unset variables known to interfere with common tools
+ Reported by Jan Cholasta at:
+ <https://bugzilla.redhat.com/show_bug.cgi?id=801374>.
+ * autopoint.in: Unset CDPATH, CLICOLOR_FORCE, and GREP_OPTIONS.
+ * gettextize.in: Unset CLICOLOR_FORCE and GREP_OPTIONS.
+
2014-04-21 Daiki Ueno <ueno@gnu.org>
* autopoint.in: Rename gettext_dir to gettext_datadir.
exit 1
}
+# Nuisances.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
# Command-line option processing.
# Removes the OPTIONS from the arguments. Sets the variables:
# - force yes if --force was given, empty otherwise
# Nuisances.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
# Command-line option processing.
# Removes the OPTIONS from the arguments. Sets the variables:
# - force 1 if --force was given, 0 otherwise