diff --git a/scripts/analyze_lightcurves.sh b/scripts/analyze_lightcurves.sh index 127ee10..3decabb 100755 --- a/scripts/analyze_lightcurves.sh +++ b/scripts/analyze_lightcurves.sh @@ -122,7 +122,7 @@ do sed "s@%ROOTDIR%@$(pwd)@g"| sed "s@%OUTPUTFILE%@${outputfile}@g" > $submitscript cd thor - qsub "$submitscript" >> submissions + qsub $(basename $submitscript) >> submissions cd .. else time bin/psdlag tmp.psdlagargs > $outputfile