]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
remove workdir arg
authorBastian Dehn <hhaalo@arcor.de>
Mon, 14 Jul 2025 14:31:54 +0000 (16:31 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 14 Jul 2025 14:31:54 +0000 (16:31 +0200)
albentohandy

index e4d7e79a17d2819691ba533d358914ea9a44be26..f8032a08e20c3c02b6a68c742842d007774edc83 100755 (executable)
@@ -32,7 +32,6 @@ OPTIONS
     -o                      convert to opus
     -r                      löscht das Arbeitsverzeichnis
                             wenn -m angegeben ist
-    -w <workdir>            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