From b0e430e19dd751db538578ccae289776cca43d21 Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 7 Sep 2025 04:28:29 -0700 Subject: [PATCH] update command --- compose.yaml | 2 +- run.sh => zip.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename run.sh => zip.sh (88%) diff --git a/compose.yaml b/compose.yaml index 0e321a3..6cd5dfa 100644 --- a/compose.yaml +++ b/compose.yaml @@ -9,7 +9,7 @@ services: user: 1000:1000 volumes: - ~/S/japanese/manga:/mokuro/manga - command: ./run.sh "manga/One Piece Color" + command: mokuro --parent_dir "manga/One Piece Color" --disable_confirmation runtime: nvidia restart: no network_mode: host diff --git a/run.sh b/zip.sh similarity index 88% rename from run.sh rename to zip.sh index 0d49c26..558ee6c 100755 --- a/run.sh +++ b/zip.sh @@ -1,10 +1,9 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash + set -Eeuo pipefail DIR="${1:-.}" -mokuro --parent_dir "$DIR" --disable_confirmation - cd "$DIR" || exit for f in *.mokuro; do