From dbc506d30a3305150a973608b13c3ebe94dfe235 Mon Sep 17 00:00:00 2001 From: Filipe Marques Date: Tue, 5 Dec 2023 00:43:59 +0000 Subject: [PATCH] Fixes portable output directory --- bin/parse_arguments.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/parse_arguments.sh b/bin/parse_arguments.sh index 05f7d55..6e9cd4f 100644 --- a/bin/parse_arguments.sh +++ b/bin/parse_arguments.sh @@ -42,7 +42,7 @@ do f) FILEPATH=$OPTARG;; c) CONFIGPATH=$OPTARG;; e) GRAPHJS_DIR=$OPTARG - GRAPHJS_DIR=$(realpath "$GRAPHJS_DIR") + mkdir -p $GRAPHJS_DIR && GRAPHJS_DIR="$(realpath $GRAPHJS_DIR)" GRAPH_DIR="$GRAPHJS_DIR/graph" NORM="$GRAPH_DIR/normalization.norm" NORMALIZED="$GRAPHJS_DIR/normalized.js"