Osrelease.pl script

From GlueXWiki
Jump to: navigation, search

osrelease.pl is a Perl script that writes a string to standard output that identifies the operating system distribution, processor type, and compiler of the machine upon which it is executed. For example:

 > osrelease.pl
 Linux_RHEL5-i686-gcc4.1.2

This string is used in the GlueX software to label directories that have binary executables or libraries to facilitate compatible usage.

There are three versions of this script, all basically the same:

  1. In the scripts/build_scripts directory
  2. In the sim-recon/src/BMS directory
  3. In the jana/BMS directory