BernieO / calcardbackup

calcardbackup: moved to https://codeberg.org/BernieO/calcardbackup
GNU Affero General Public License v3.0
69 stars 5 forks source link

busybox readlink does not support '-m' #4

Closed waja closed 6 years ago

waja commented 6 years ago

Alpine (and others) ship with busybox.

$ /opt/calcardbackup/calcardbackup -h 
readlink: unrecognized option: m
BusyBox v1.27.2 (2017-12-12 10:41:50 GMT) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

    -f  Canonicalize by following all symlinks
    -n  Don't add newline
    -v  Verbose
calcardbackup version 0.3.1 (06.02.2018), AGPL-3.0
Usage: ./calcardbackup [DIRECTORY] [option [argument]] [option [argument]] [option [argument]] ...
Find more details in attached file 'README.md' or visit 'https://github.com/BernieO/calcardbackup'
# readlink -h
readlink: unrecognized option: h
BusyBox v1.25.1 (2018-01-25 21:40:40 CET) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

    -f  Canonicalize by following all symlinks
    -n  Don't add newline
    -v  Verbose
BernieO commented 6 years ago

Thanks for reporting this. Could you check whether the latest commit in the testing-branch solves the issue? https://github.com/BernieO/calcardbackup/commit/f44d8bd22dfa888a5125eaade95770ad09ab70a4

waja commented 6 years ago
$ docker run --rm -it waja/calcardbackup /opt/calcardbackup/calcardbackup -h
calcardbackup version pre-0.3.2 (13.02.2018), AGPL-3.0
Usage: ./calcardbackup [DIRECTORY] [option [argument]] [option [argument]] [option [argument]] ...
Find more details in attached file 'README.md' or visit 'https://github.com/BernieO/calcardbackup'
$ docker run --rm -it waja/calcardbackup readlink -h
readlink: unrecognized option: h
BusyBox v1.27.2 (2017-12-12 10:41:50 GMT) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

    -f  Canonicalize by following all symlinks
    -n  Don't add newline
    -v  Verbose

Looks great!

BernieO commented 6 years ago

version 0.3.2 with these changes released: https://github.com/BernieO/calcardbackup/commit/58d8ffd0712000ad457fecaba542839dc27d1f04 So this can be closed.