]> diplodocus.org Git - nmh/commitdiff
Split assignment and export of shell variable.
authorDavid Levine <levinedl@acm.org>
Fri, 30 May 2014 02:02:49 +0000 (21:02 -0500)
committerDavid Levine <levinedl@acm.org>
Fri, 30 May 2014 02:02:49 +0000 (21:02 -0500)
man/mh-chart-gen.sh

index c59af2a..a4c358c 100755 (executable)
@@ -7,7 +7,7 @@ nmhmandir=`dirname $0`
 
 # The following ensures the generated date field in the manpage is divorced
 # from the local build environment when building distribution packages.
 
 # The following ensures the generated date field in the manpage is divorced
 # from the local build environment when building distribution packages.
-export LC_TIME=C
+LC_TIME=C; export LC_TIME
 unset LANG
 datestamp=`date '+%B %d, %Y'`
 
 unset LANG
 datestamp=`date '+%B %d, %Y'`