From 54135d63b8b43786041004ecb5b05984ffbd991d Mon Sep 17 00:00:00 2001 From: Ryan Tang Date: Wed, 13 Jul 2022 14:15:25 -0400 Subject: [PATCH] edit Ptolemy bash script to copy DWBA file into working --- working/PtolemyGUI | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/working/PtolemyGUI b/working/PtolemyGUI index 4fc58ba..854e56f 100755 --- a/working/PtolemyGUI +++ b/working/PtolemyGUI @@ -1,9 +1,11 @@ #!/usr/bin/bash +dir=$(pwd) + if [[ -f DWBA ]]; then dummy=10 else - cp /opt/Ptolemy/DWBA . + cp $dir/../DWBA . fi -root -l /opt/Ptolemy/working/PtolemyGUI.C +root -l PtolemyGUI.C