raster3d (2.9-1-1) example8.script.diff

Summary

 examples/example8.script |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

--- Raster3D-2.9-1.orig/examples/example8.script
+++ Raster3D-2.9-1/examples/example8.script
@@ -1,9 +1,14 @@
-#!/bin/csh
+#!/bin/bash
 #
 # Demonstrate stereo3d script by making stereo pair of
 # view down pore of LT B-pentamer
 #
-if (! $?TMPDIR) setenv TMPDIR /tmp ; endif
+if [ "$TMPDIR" ]; then
+       tmp=$TMPDIR
+else
+       tmp=/tmp
+fi
+export TMPDIR=$tmp
 #
 # First we make a VDW model of the B-pentamer itself
 #