extra: use `basename ${0}` when exporting set_LD_PRELOAD.sh
authorVictor Tseng <palatis@iworldcom.com>
Thu, 16 Dec 2010 17:51:32 +0000 (01:51 +0800)
committerVictor Tseng <palatis@iworldcom.com>
Thu, 16 Dec 2010 17:51:32 +0000 (01:51 +0800)
commitb7ac0ae7712b43d4923592e36be3c63ec25b8533
tree67968b5a614562a1e7213e3d7c4dd865f09ed372
parent03f4782ed0f0f3e2a0cc456d1a16bf863d86a271
extra: use `basename ${0}` when exporting set_LD_PRELOAD.sh

use `basename ${0}` instead of `pwd` for set_LD_PRELOAD.sh.
sometimes the script is called elsewhere, and LD_PRELOAD isn't properly
set.
extra/crystalhd_wrapper/set_LD_PRELOAD.sh