mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
9286716f4a
commit
791a8e96ac
1 changed files with 3 additions and 3 deletions
6
build.sh
6
build.sh
|
@ -152,13 +152,13 @@ build_android_arm() {
|
|||
OUTPUT=$1
|
||||
|
||||
echo "@ Updating repo on Android host ..."
|
||||
ssh -p 8022 root@shield "cd $DIR && rm bettercap && git pull" > /dev/null
|
||||
ssh -p 8022 root@shield "cd "$DIR" && rm -rf bettercap* && git pull && go get ./..."
|
||||
|
||||
echo "@ Building $OUTPUT ..."
|
||||
ssh -p 8022 root@shield "cd $DIR && go build -o $OUTPUT ." > /dev/null
|
||||
ssh -p 8022 root@shield "cd $DIR && go build -o $OUTPUT ."
|
||||
|
||||
echo "@ Downloading $OUTPUT ..."
|
||||
scp -C -P 8022 root@shield:$DIR/$OUTPUT . > /dev/null
|
||||
scp -C -P 8022 root@shield:$DIR/$OUTPUT .
|
||||
}
|
||||
|
||||
rm -rf $BUILD_FOLDER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue