From: Bastian Dehn Date: Mon, 14 Jul 2025 14:31:54 +0000 (+0200) Subject: remove workdir arg X-Git-Tag: v1.0.0^2~53^2~4 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=43210ae04a428bef61c40b27fc57ef8872135985;p=albentohandy.git remove workdir arg --- diff --git a/albentohandy b/albentohandy index e4d7e79..f8032a0 100755 --- a/albentohandy +++ b/albentohandy @@ -32,7 +32,6 @@ OPTIONS -o convert to opus -r löscht das Arbeitsverzeichnis wenn -m angegeben ist - -w das Arbeitsverzeichnis angegeben EOF } @@ -336,8 +335,8 @@ make_symlinks_to_work() local musicpath="$3" for album in $(cat $albumlist); do - [ -d "$album" ] \ - || errlog "directory $album does not exists" \ + [ -d "$musicpath/$album" ] \ + || errlog "directory $musicpath/$album does not exists" \ || return $? cp --recursive \ --symbolic-link \ @@ -500,7 +499,6 @@ main() "m") cptodest=true && dest="$OPTARG" && ((phase++)) ;; "o") format="opus" ;; "r") removework=true ;; - "w") WORK="$OPTARG" ;; esac done