Removed `which` dependency, now using proper shell builtin. 49/7549/1
authorDaniel Farrell <dfarrell@redhat.com>
Fri, 30 May 2014 18:54:23 +0000 (14:54 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 30 May 2014 18:54:23 +0000 (14:54 -0400)
commit2995f0dc49ce257738c7b9ee9a75b03c244060ca
tree69864565ea8f2a49a2964b361ab45d07db17b957
parent82eb3f94c133e091ca5dd2f26450da9f121c12ca
Removed `which` dependency, now using proper shell builtin.

- `which` isn't installed by default on all distros.
- `which` doesn't resolve exactly like the shell, potential bugs.
- `which` unnecessary spawns a new process.

Change-Id: Ie89ea78b6f4cfb9c5415e889ec0393924870d883
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
opendaylight/distribution/opendaylight/src/main/resources/run.sh

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.