sync-portage: Set PATH

When run by fcron from the *systab* table, the PATH environment variable
does not include the "sbin" locations. Since `emaint` is located in
`/usr/sbin`, it is not found. Thus, the PATH needs to be adjusted.
master
Dustin 2017-08-22 09:19:35 -05:00 committed by Dustin C. Hatch
parent ef9b32fb1d
commit f7f0dc4bd5
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
export PATH=/usr/sbin:/sbin:/usr/bin:/bin
REMOTE=${SYNC_REMOTE:-caithe.pyrocufflink.jazz::portage-squashfs/gentoo.sqxz} REMOTE=${SYNC_REMOTE:-caithe.pyrocufflink.jazz::portage-squashfs/gentoo.sqxz}
NO_EMAINT_SYNC=0 NO_EMAINT_SYNC=0
NO_LAYMAN_SYNC=0 NO_LAYMAN_SYNC=0