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"