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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user