synchronizing executable in bin breaks command
The installation of webis
breaks if:
- One installs the command into a directory that one synchronizes (by CVS) to multiple machines
- The
webis.py
gets an update, which CVS then pushes to the repository and the other machines pull from CVS, overwriting the link with a file with identical contents
The reason is that
export WEBIS_CMD_ROOT_PATH="$(dirname "$(realpath "$0")")"
Evaluates to different directories depending on whether it is a link or a file (with identical contents).
Possible solutions:
- This is a very special problem that need not be accounted for. If people want to synchronize their bin directory (Benno), they may need a special solution here that knows where the original bin lies (a shell script that just executes the webis.py, passing on all arguments). Or they need to re-install the command every time the main python file gets updated (happens very rarely).
Other thoughts?