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.
This commit is contained in:
2017-08-22 09:19:35 -05:00
committed by Dustin C. Hatch
parent ef9b32fb1d
commit f7f0dc4bd5

View File

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