Skip to content
Snippets Groups Projects
Commit 02ff3262 authored by an7s's avatar an7s
Browse files

Passing variant id in a file instead of using the exit code (as the exit code...

Passing variant id in a file instead of using the exit code (as the exit code in Linux is only 8-bit)
parent 3603a6eb
Branches
Tags
No related merge requests found
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
PROGRAM_NAME=$1 PROGRAM_NAME=$1
PROGRAM_PEASOUP_DIR=$2 PROGRAM_PEASOUP_DIR=$2
VARIANT_ID_OUTPUT=$3
##################################################### #####################################################
...@@ -84,4 +85,7 @@ log_message "To do: if shared libs, then need to add them to this table" ...@@ -84,4 +85,7 @@ log_message "To do: if shared libs, then need to add them to this table"
#============================================ #============================================
FILE_ID=`psql -q -t -c "INSERT INTO variant_dependency (variant_id, file_id) VALUES ('$PROGRAM_ID', '$FILE_ID')"` FILE_ID=`psql -q -t -c "INSERT INTO variant_dependency (variant_id, file_id) VALUES ('$PROGRAM_ID', '$FILE_ID')"`
exit $PROGRAM_ID rm $VARIANT_ID_OUTPUT 2>/dev/null
echo $PROGRAM_ID > $VARIANT_ID_OUTPUT
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment