git checkout -b <branchname>
git add
git commit -m "description of changes"
| #!/bin/sh | |
| ZOOVERSION=$(brew list zookeeper --versions | sed -E 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/' | head -n1) | |
| ZOOBINDIR=`dirname $(brew ls zookeeper | head -n1)` | |
| ZOOCONTRIBDIR="$ZOOBINDIR/../libexec/contrib" | |
| ZOOFATJAR="$ZOOCONTRIBDIR/fatjar/zookeeper-$ZOOVERSION-fatjar.jar" | |
| ZOOINSPECTORDIR="$ZOOCONTRIBDIR/ZooInspector" | |
| ZOOINSPECTOR="$ZOOINSPECTORDIR/zookeeper-$ZOOVERSION-ZooInspector.jar" | |
| . "$ZOOBINDIR"/../libexec/bin/zkEnv.sh | |
| CLASSPATH="$ZOOFATJAR:$ZOOINSPECTOR:$CLASSPATH" |