]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r272288,272289:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Oct 2014 18:32:30 +0000 (18:32 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 2 Oct 2014 18:32:30 +0000 (18:32 +0000)
commitd473ca310fb49ab721a415af50950fd2f33c35ee
tree3bf754c024c0c6f4218dd7e72de6cf79bbd8f32f
parent1d7154a203a30c67e26ecc8f393449668e6630bd
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/8@272440 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/at/at.c