From 4f5482dedb043372bf7f31fadd09372f20f5cfa2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Tue, 14 Mar 2006 12:02:19 +0000 Subject: [PATCH] adapt script to stage area --- org.glite.jp.primary/examples/jpps_store_test | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/org.glite.jp.primary/examples/jpps_store_test b/org.glite.jp.primary/examples/jpps_store_test index f98954a..c461739 100755 --- a/org.glite.jp.primary/examples/jpps_store_test +++ b/org.glite.jp.primary/examples/jpps_store_test @@ -18,7 +18,16 @@ echodo() "$@" || exit 1 } -jpps="./jpps-test" +if [ -f jpps-test ]; +then + jpps="./jpps-test" +elif [ -f glite-jp-primary-test ]; +then + jpps="./glite-jp-primary-test" +else + echo "glite-jp-primary-test or jpps-test not found!" + exit 1; +fi #getopt -s sh o:d:t:s: "$@" #set -- `getopt -s sh o:d:t:s: "$@"` @@ -47,7 +56,7 @@ if [ -f "$dump" ]; then dest=`grep '^Destination:' start.$$ | cut -d' ' -f2` rm start.$$ echodo globus-url-copy "file:$PWD/job.$$" $dest - rm job.$$ +# rm job.$$ echodo $jpps CommitUpload "$dest" # does not pass authz check -- probably OK -- 1.8.2.3