misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-24 23:17:57 +01:00
commit 5364a75b26
2 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,8 @@ This command will download bettercap, install its dependencies, compile it and m
Now you can use `sudo bettercap -h` to show the basic command line options and just `sudo bettercap` to start an Now you can use `sudo bettercap -h` to show the basic command line options and just `sudo bettercap` to start an
[interactive session](https://github.com/bettercap/bettercap/wiki/Interactive-Mode) on your default network interface, otherwise you can [load a caplet](https://github.com/bettercap/bettercap/wiki/Caplets) from [the dedicated repository](https://github.com/bettercap/caplets). [interactive session](https://github.com/bettercap/bettercap/wiki/Interactive-Mode) on your default network interface, otherwise you can [load a caplet](https://github.com/bettercap/bettercap/wiki/Caplets) from [the dedicated repository](https://github.com/bettercap/caplets).
## Documentation and Examples
The project is documented [in this wiki](https://github.com/bettercap/bettercap/wiki). The project is documented [in this wiki](https://github.com/bettercap/bettercap/wiki).
## Update ## Update

View file

@ -6,10 +6,10 @@ MISC=()
echo "@ Fetching remote tags ..." echo "@ Fetching remote tags ..."
git fetch --tags > /dev/null # git fetch --tags > /dev/null
CURTAG=$(git describe --tags --abbrev=0) CURTAG=$(git describe --tags --abbrev=0)
OUTPUT=$(git log $CURTAG..HEAD --oneline) OUTPUT=$(git log v2.0.0RC1..HEAD --oneline)
IFS=$'\n' LINES=($OUTPUT) IFS=$'\n' LINES=($OUTPUT)
for LINE in "${LINES[@]}"; do for LINE in "${LINES[@]}"; do