Skip to content
Snippets Groups Projects
Commit 087532e5 authored by Daniel Nemergut's avatar Daniel Nemergut Committed by Charlotte Hausman
Browse files

Typo in bash var name

parent 74a3b0af
No related branches found
No related tags found
1 merge request!1618update vlass templates for pimscache python3.10 upgrade
......@@ -2,7 +2,7 @@
set -o errexit
export HOME={{spool_dir}}
export PREV_PROCCESSING_DIR=$(basename "{{prev_processing_dir}}")
export PREV_PROCESSING_DIR=$(basename "{{prev_processing_dir}}")
SBIN_PATH=/lustre/aoc/cluster/pipeline/$CAPO_PROFILE/workspaces/sbin
......@@ -11,9 +11,9 @@ cd {{spool_dir}}
$SBIN_PATH/framework.sh -d .
chmod 770 .
if [ ! -z "$PREV_PROCCESSING_DIR" ] && [ -d "../$PREV_PROCCESSING_DIR/rawdata/" ] && [ ! -z "$(ls -A ../$PREV_PROCCESSING_DIR/rawdata/)" ]; then
if [ ! -z "$PREV_PROCESSING_DIR" ] && [ -d "../$PREV_PROCESSING_DIR/rawdata/" ] && [ ! -z "$(ls -A ../$PREV_PROCESSING_DIR/rawdata/)" ]; then
# Reuse the raw data from the previous version
mv ../$PREV_PROCCESSING_DIR/rawdata/ .
mv ../$PREV_PROCESSING_DIR/rawdata/ .
else
# Run the product fetcher
cd rawdata/
......
......@@ -2,7 +2,7 @@
set -o errexit
export HOME={{spool_dir}}
export PREV_PROCCESSING_DIR=$(basename "{{prev_processing_dir}}")
export PREV_PROCESSING_DIR=$(basename "{{prev_processing_dir}}")
SBIN_PATH=/lustre/aoc/cluster/pipeline/$CAPO_PROFILE/workspaces/sbin
......@@ -11,9 +11,9 @@ cd {{spool_dir}}
$SBIN_PATH/framework.sh -d .
chmod 770 .
if [ ! -z "$PREV_PROCCESSING_DIR" ] && [ -d "../$PREV_PROCCESSING_DIR/rawdata/" ] && [ ! -z "$(ls -A ../$PREV_PROCCESSING_DIR/rawdata/)" ]; then
if [ ! -z "$PREV_PROCESSING_DIR" ] && [ -d "../$PREV_PROCESSING_DIR/rawdata/" ] && [ ! -z "$(ls -A ../$PREV_PROCESSING_DIR/rawdata/)" ]; then
# Reuse the raw data from the previous version
mv ../$PREV_PROCCESSING_DIR/rawdata/ .
mv ../$PREV_PROCESSING_DIR/rawdata/ .
else
# Run the product fetcher
cd rawdata/
......
......@@ -2,7 +2,7 @@
set -o errexit
export HOME={{spool_dir}}
export PREV_PROCCESSING_DIR=$(basename "{{prev_processing_dir}}")
export PREV_PROCESSING_DIR=$(basename "{{prev_processing_dir}}")
SBIN_PATH=/lustre/aoc/cluster/pipeline/$CAPO_PROFILE/workspaces/sbin
......@@ -11,9 +11,9 @@ cd {{spool_dir}}
$SBIN_PATH/framework.sh -d .
chmod 770 .
if [ ! -z "$PREV_PROCCESSING_DIR" ] && [ -d "../$PREV_PROCCESSING_DIR/rawdata/" ] && [ ! -z "$(ls -A ../$PREV_PROCCESSING_DIR/rawdata/)" ]; then
if [ ! -z "$PREV_PROCESSING_DIR" ] && [ -d "../$PREV_PROCESSING_DIR/rawdata/" ] && [ ! -z "$(ls -A ../$PREV_PROCESSING_DIR/rawdata/)" ]; then
# Reuse the raw data from the previous version
mv ../$PREV_PROCCESSING_DIR/rawdata/ .
mv ../$PREV_PROCESSING_DIR/rawdata/ .
else
# Run the product fetcher
cd rawdata/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment