Rechercher une page de manuel
run-redir
Langue: en
Version: February 2009 (fedora - 01/12/10)
Section: 1 (Commandes utilisateur)
NAME
run-redir - run program but redirect some resulting filesSYNOPSIS
run-redir COMMAND-TO-RUN
run-redir -p | --print
DESCRIPTION
This program is intended to make it possible to run install scripts that do not support the DESTDIR convention, and yet have their resulting files redirected elsewhere. Where possible, use make-redir instead, as that provides a simpler higher-level interface for common cases.
In the first form, run the COMMAND-TO-RUN, but wrap certain programs so that any files they write will be redirected to a different subdirectory if they were to have been stored in a privileged directory (like "/usr/bin"). The different subdirectory is specified by REDIR_DESTDIR or DESTDIR, with the former taking precedence.
With the "-p" or "--print" option, just print the directory containing the redirecting (wrapping) scripts and exit. The run-redir program is installed with a default value of the directory containing the wrapping scripts; you can override this default by setting the environment variable RUN_REDIR_SCRIPTDIR to point to a different directory of wrapping scripts.
See make-redir(1) for much more information on this program. More background information is here: http://www.dwheeler.com/essays/automating-destdir.html
AUTHOR
David A. WheelerREPORTING BUGS
Report bugs to <dwheeler, at, dwheeler dot com>COPYRIGHT
Copyright © 2009 Institute for Defense Analyses. Released under the "MIT" license.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
make-redir(1)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre