Debian Codegraph @

run

raw symbols SCIP
1 #! /usr/bin/env bash
2 #
3 # Little helper script that runs RedNotebook without installing it.
4 #
5 # Note: No need to translate strings locally, since they won't be
6 # picked up anyway.
7 #
8
9 set -euo pipefail
10
11 # Change into RedNotebook directory.
12 if command -v realpath &> /dev/null; then
13 # If realpath command exists, use it to follow symlinks.
14 cd "$(dirname "$(realpath "$0")")"
15 else
16 cd "$(dirname "$0")"
17 fi
18
19 # Run RedNotebook.
20 python3 rednotebook/journal.py "$@"