]> git.pld-linux.org Git - packages/grace.git/commitdiff
- misc files.
authorkloczek <kloczek@pld-linux.org>
Sat, 27 Nov 1999 13:37:50 +0000 (13:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    grace.perl.patch -> 1.1
    xmgrace -> 1.1

grace.perl.patch [new file with mode: 0644]
xmgrace [new file with mode: 0644]

diff --git a/grace.perl.patch b/grace.perl.patch
new file mode 100644 (file)
index 0000000..26f4cc7
--- /dev/null
@@ -0,0 +1,8 @@
+--- grace-5.0.0/auxiliary/fdf2fit.orig Wed Jul 15 08:45:44 1998
++++ grace-5.0.0/auxiliary/fdf2fit      Wed Jul 15 08:46:14 1998
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+ # fdf2fit - script to convert Origin-4 .fdf fit parameter files to ACE/gr's
+ # Version 0.3
+ # Author Yu. V. Ralchenko <fnralch@plasma-gate.weizmann.ac.il>
diff --git a/xmgrace b/xmgrace
new file mode 100644 (file)
index 0000000..860772d
--- /dev/null
+++ b/xmgrace
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+use File::Basename;
+
+$grhome =$ENV{GRACE_HOME};
+$grhome ="/usr/X11R6/lib/X11/grace" if "$grhome" eq "";
+$dynamic = "$grhome" . "/bin/xmgrace.dynamic";
+$semistatic = "$grhome" . "/bin/xmgrace.semistatic";
+$basename = basename($0);
+if (-x "$dynamic") {
+    exec $dynamic $basename, @ARGV;
+} elsif (-x "$semistatic") {
+    exec $semistatic $basename, @ARGV;
+} else {
+    die "ERROR: Can't find any grace executable in $grhome/bin\n";
+}
This page took 0.030533 seconds and 4 git commands to generate.