improve diec.sh

This commit is contained in:
Benjamin Funke 2025-03-23 12:54:44 +01:00
commit a379cf6112

View file

@ -5,7 +5,7 @@
# This assumes file target is last argument!
# Build with:
# docker build . -t horsicq:diec
# sudo docker build . -t horsicq:diec
TARGET="${@: -1}" # last argument is target file
INPUT_DIR=$(cd $(dirname "$TARGET") && pwd -P)