]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r272288,272289:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Oct 2014 18:32:17 +0000 (18:32 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Oct 2014 18:32:17 +0000 (18:32 +0000)
commit45775ca2e44ac5eedb5950553b51fd10f10c4970
tree67e5b8d1e4e0af2ed843d28fc5796527361139ce
parente0e1f0826332f137b0e7eafd0f3e6a393b732bed
MFC r272288,272289:

When setting environment variables in the atrun script, use the
"export foo=bar" form instead of "foo=bar; export foo" since the
former allows the shell to catch variable names that are not valid
shell identifiers.  This will cause /bin/sh to exit with an error
(which gets mailed to the at user) and it will not run the script.

Obtained from: OpenBSD (r1.63 millert)

git-svn-id: svn://svn.freebsd.org/base/stable/9@272439 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/at/at.c