]> pd.if.org Git - zpackage/commit
add -o option to runscript
authorNathan Wagner <nw@hydaspes.if.org>
Fri, 21 Sep 2018 22:26:26 +0000 (22:26 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Mon, 24 Sep 2018 10:40:18 +0000 (10:40 +0000)
commitb547a6673cbb8bf2685fa0c03e143f14d3c803ed
tree5a7eec6224f1edf35a9084533eac2e7311526d82
parent9c309fd6577327188b61cb6508e02ab037987e1d
add -o option to runscript

honor ZPM_ROOT_DIR environment variable

Change directory to either / or the rootdir.  Actually doing a chroot(2)
call is apparently deprecated and has been removed from posix.  Doing
this will require OS specific code.  Unless and until that is done,
scripts will need to be aware of that and make changes in the correct
place.
t/scripts.t
zpm-runscript.c