1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Author: Nelson A. de Oliveira
Last-Update: 2008-02-24 03:33:37 +0000
Description: Convert from csh to bash
--- a/examples/example8.script
+++ b/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
#
|