mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
scripts/wrapper.in: Add a comment about readlink not being portable.
Documented that the call to readlink will not work on BSD systems.
This commit is contained in:
parent
82af5a5d7b
commit
98e7576024
@ -1,5 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# this wrapper will not work under BSD systems or others
|
||||
# not containig the GNU readlink.
|
||||
# Under those, wrapper.c will forcibly be used
|
||||
# regardless of the config file setting.
|
||||
|
||||
canonicalizedname=$(readlink -nm "${0}")
|
||||
dirname="$(dirname "${canonicalizedname}")"
|
||||
basename="$(basename "${canonicalizedname}")"
|
||||
|
Loading…
Reference in New Issue
Block a user