[med-svn] r1128 - trunk/packages/mustang/trunk/debian

mok0-guest at alioth.debian.org mok0-guest at alioth.debian.org
Sat Jan 12 16:07:23 UTC 2008


Author: mok0-guest
Date: 2008-01-12 16:07:22 +0000 (Sat, 12 Jan 2008)
New Revision: 1128

Modified:
   trunk/packages/mustang/trunk/debian/runtest
Log:
Run-time directory now defined in a variable, and set to
/tmp/mustang by default.


Modified: trunk/packages/mustang/trunk/debian/runtest
===================================================================
--- trunk/packages/mustang/trunk/debian/runtest	2008-01-12 12:07:00 UTC (rev 1127)
+++ trunk/packages/mustang/trunk/debian/runtest	2008-01-12 16:07:22 UTC (rev 1128)
@@ -13,12 +13,16 @@
   done
 }
 
+# The process will run in this directory:
+tmdir=/tmp/mustang
+
 savedir=$PWD
-cd /tmp
+mkdir $tmpdir
+cd $tmpdir
 pdb_fetch $entries
 for f in $entries; do gzip -dc $f.pdb.gz > $f.pdb ; done
 
 mustang -f /usr/share/doc/mustang/examples/test_zf-CCHH
 cd $savedir
 
-echo Results are in /tmp/results.html and /tmp/results.pdb
+echo Results are in $tmpdir/results.html and $tmpdir/results.pdb




More information about the debian-med-commit mailing list