]> 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 c59af2aeaf75dc6fcbaec43ac6e3fd84d9b107f9..a4c358c77bc41b19f162d2d080c8204414d71439 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'`