]> git.pld-linux.org Git - packages/grace.git/blame - xmgrace
- adapterized (sorted %verify attrs)
[packages/grace.git] / xmgrace
CommitLineData
57e0617c 1#!/usr/bin/perl
2
3use File::Basename;
4
5$grhome =$ENV{GRACE_HOME};
6$grhome ="/usr/X11R6/lib/X11/grace" if "$grhome" eq "";
7$dynamic = "$grhome" . "/bin/xmgrace.dynamic";
8$semistatic = "$grhome" . "/bin/xmgrace.semistatic";
9$basename = basename($0);
10if (-x "$dynamic") {
11 exec $dynamic $basename, @ARGV;
12} elsif (-x "$semistatic") {
13 exec $semistatic $basename, @ARGV;
14} else {
15 die "ERROR: Can't find any grace executable in $grhome/bin\n";
16}
This page took 0.054166 seconds and 4 git commands to generate.