Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

busybox readlink does not support '-m' #4

Closed
waja opened this issue Feb 12, 2018 · 3 comments
Closed

busybox readlink does not support '-m' #4

waja opened this issue Feb 12, 2018 · 3 comments
Assignees

Comments

@waja
Copy link

waja commented Feb 12, 2018

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
Copy link
Owner

BernieO commented Feb 13, 2018

Thanks for reporting this. Could you check whether the latest commit in the testing-branch solves the issue?
f44d8bd

@waja
Copy link
Author

waja commented Feb 13, 2018

$ 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
Copy link
Owner

BernieO commented Feb 13, 2018

version 0.3.2 with these changes released:
58d8ffd
So this can be closed.

@BernieO BernieO closed this as completed Feb 13, 2018
@BernieO BernieO changed the title busyboy readlink does not support '-m' busybox readlink does not support '-m' Feb 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants