samedi 24 janvier 2015

Where should I put (wrapper) scripts in my source tree?


I have this software package which installs itself to /usr/local/mypackge, with a bunch of subdirs. In bin/ I have linked code, as ELF executables, in /share/doc I have documents, etc. Now suppose I've written some wrapper script(s) calling binaries from bin/, and I want it to be part of the package. Where should it be placed?


On typical Linux systems, you find shell scripts in /usr/bin and /usr/sbin, same as the actual linked binaries - should I do the same? Should I create a scripts/ subdir? Something else?





Aucun commentaire:

Enregistrer un commentaire