mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
removed fixed directory
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Script to concatenate all code from source directories for LaTeX inclusion
|
# Script to concatenate all code from source directories for LaTeX inclusion
|
||||||
|
|
||||||
OUTPUT_FILE="paper/build/concatenated_code.tex"
|
# Detect project root (parent of paper directory)
|
||||||
PROJECT_ROOT="/home/velocitatem/Documents/Projects/PHANTOM"
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||||
|
OUTPUT_FILE="$PROJECT_ROOT/paper/build/concatenated_code.tex"
|
||||||
|
|
||||||
# Create output directory if it doesn't exist
|
# Create output directory if it doesn't exist
|
||||||
mkdir -p "$(dirname "$OUTPUT_FILE")"
|
mkdir -p "$(dirname "$OUTPUT_FILE")"
|
||||||
|
|||||||
Reference in New Issue
Block a user