Example: # euse -i nls readlink: too many arguments Try `readlink --help' for more information. ./euse.orig: line 199: /make.defaults: No such file or directory readlink: too many arguments Try `readlink --help' for more information. ./euse.orig: line 199: /make.defaults: No such file or directory readlink: too many arguments Try `readlink --help' for more information. readlink: too many arguments Try `readlink --help' for more information. ERROR: /make.defaults is not readable Reproducible: Always Steps to Reproduce: euse <whatever> Actual Results: readlink: too many arguments Try `readlink --help' for more information. ./euse.orig: line 199: /make.defaults: No such file or directory readlink: too many arguments Try `readlink --help' for more information. ./euse.orig: line 199: /make.defaults: No such file or directory readlink: too many arguments Try `readlink --help' for more information. readlink: too many arguments Try `readlink --help' for more information. ERROR: /make.defaults is not readable Expected Results: Something reasonable. Fix: --- ./euse.orig 2005-06-10 10:40:23.000000000 +0200 +++ /usr/bin/euse 2005-06-10 10:25:37.000000000 +0200 @@ -154,7 +154,7 @@ curdir="$(readlink -f ${MAKE_PROFILE_PATH})" while [ ! -f "${curdir}/make.defaults" -a -f "${curdir}/parent" ]; do - parent="$(grep -v '(^#|^ *$)' ${curdir}/parent)" + parent="$(egrep -v '(^#|^ *$)' ${curdir}/parent)" curdir="$(readlink -f ${curdir}/${parent})" done
Created attachment 60973 [details, diff] Trivial patch to correct euse behavior
Step 1 - search for your bug *** This bug has been marked as a duplicate of 75525 ***