From a0bd5809b54f3f30e2d91daf85ec129007ba5434 Mon Sep 17 00:00:00 2001
From: wierenga <sdos@astron.nl>
Date: Mon, 2 Dec 2002 16:03:18 +0000
Subject: [PATCH] %[BugId:130]% Make sure we're always in the correct
 directory.

---
 CEP/Demo/PSS1/rundemo | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/CEP/Demo/PSS1/rundemo b/CEP/Demo/PSS1/rundemo
index 4a103e2312e..5cc60b466bc 100755
--- a/CEP/Demo/PSS1/rundemo
+++ b/CEP/Demo/PSS1/rundemo
@@ -1,4 +1,7 @@
 #!/bin/sh
+RUNDEMOPATH=`echo $0 | sed 's/\/rundemo$//'`
+cd $RUNDEMOPATH
+
 AIPSROOT=%AIPSROOT%
 if test "$AIPSROOT" = "%AIPSROOT%"; then
 	AIPSROOT=/aips++/weekly
-- 
GitLab