diff options
author | P. J. McDermott <pjm@nac.net> | 2012-09-28 23:29:25 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-09-28 23:29:25 (EDT) |
commit | 7f8cb02cf45f0fa6dee20d012436d424f7a88c62 (patch) | |
tree | 8718591755559d2d20281ceb01bccc2785e99ce8 /configure | |
parent | 26c4d0b3614a3ceff090ecd0c0070a62370b3856 (diff) |
Improve source directory detection.
* Eliminate unnecessary "dirname" command.
* Support whitespace in source directory path.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -23,8 +23,7 @@ package_name='opkbuild' package_version='3.0.0' package_description='OPK Build System' -srcdir=$(dirname "${0}") -srcdir=$(cd ${srcdir} && pwd) +srcdir="$(cd "${0%/*}" && pwd)" prefix='/usr/local' bindir='$(prefix)/bin' libdir='$(prefix)/lib' |