forked from FlexBE/flexbe_app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request FlexBE#18 from meyerj/feature/install-rules
Add cmake install rules and use rospack to find nw executable
- Loading branch information
Showing
4 changed files
with
55 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/bin/bash | ||
cd "$( dirname "${BASH_SOURCE[0]}" )" | ||
|
||
if [ ! -f ../nw ]; then | ||
NW="$(rospack find flexbe_app)/nw" | ||
if [ ! -x "${NW}" ]; then | ||
echo "Cannot run flexbe_app, need to download nwjs first." | ||
echo "Please build flexbe_app via catkin before using it or run the following command now:" | ||
echo " rosrun flexbe_app nwjs_install" | ||
exit -1 | ||
fi | ||
|
||
../nw --password-store=basic $* | ||
"$NW" --password-store=basic "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters