From b948627bd5e7a83ddd68c66a56c0b8c105563d08 Mon Sep 17 00:00:00 2001 From: Jeroen Massar Date: Wed, 2 Oct 2019 19:03:50 +0200 Subject: [PATCH] Fix CRLF line endings... Before: ``` bash: ./update_pwnagotchi.sh: /bin/bash^M: bad interpreter: No such file or directory ``` Thus: ``` scripts/update_pwnagotchi.sh: Bourne-Again shell script text executable, ASCII text, with CRLF line terminators dos2unix: converting file scripts/update_pwnagotchi.sh to Unix format... scripts/update_pwnagotchi.sh: Bourne-Again shell script text executable, ASCII text ``` Now it works :) --- scripts/update_pwnagotchi.sh | 220 +++++++++++++++++------------------ 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/scripts/update_pwnagotchi.sh b/scripts/update_pwnagotchi.sh index 34e4eedf..0039e7bc 100644 --- a/scripts/update_pwnagotchi.sh +++ b/scripts/update_pwnagotchi.sh @@ -1,111 +1,111 @@ -#!/bin/bash -# Default variables -GIT_FOLDER="/tmp/pwnagotchi" -GIT_URL="https://github.com/evilsocket/pwnagotchi/" -VERSION="master" -SUPPORTED_RESTART_MODES=( 'auto' 'manual' ) -MODE="auto" -BACKUPCONFIG=0 -RESTORECONFIG=0 - -# Functions -function usage() { - cat <