From 93c9188c349ec6916d4584da3c7defdf6fb78a73 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 11 May 2021 15:27:21 +0100 Subject: [PATCH] Swap spaces for tabs To make it more consistent --- build.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/build.sh b/build.sh index 63a6df9..d076423 100755 --- a/build.sh +++ b/build.sh @@ -76,11 +76,11 @@ target_build_log() { default_version() { case "$1" in - kali-*) - echo "${1#kali-}" + kali-*) + echo "${1#kali-}" ;; - *) - echo "$1" + *) + echo "$1" ;; esac } @@ -120,7 +120,7 @@ while true; do --no-clean) NO_CLEAN="1"; shift 1 ;; --) shift; break; ;; *) echo "ERROR: Invalid command-line option: $1" >&2; exit 1; ;; - esac + esac done # Set default values @@ -253,14 +253,14 @@ case "$IMAGE_TYPE" in export DEBVERSION=$KALI_VERSION if [ "$KALI_VARIANT" = "netinst" ]; then - export DISKTYPE="NETINST" + export DISKTYPE="NETINST" else - export DISKTYPE="DVD" + export DISKTYPE="DVD" fi if [ -e .mirror ]; then - kali_mirror=$(cat .mirror) + kali_mirror=$(cat .mirror) else - kali_mirror=http://archive.kali.org/kali/ + kali_mirror=http://archive.kali.org/kali/ fi if ! echo "$kali_mirror" | grep -q '/$'; then kali_mirror="$kali_mirror/" @@ -283,12 +283,12 @@ case "$IMAGE_TYPE" in # Run simple-cdd cd simple-cdd run_and_log build-simple-cdd \ - --verbose \ - --debug \ - --force-root \ - --conf simple-cdd.conf \ - --dist $CODENAME \ - --debian-mirror $kali_mirror + --verbose \ + --debug \ + --force-root \ + --conf simple-cdd.conf \ + --dist $CODENAME \ + --debian-mirror $kali_mirror res=$? cd .. if [ $res -ne 0 ] || [ ! -e $IMAGE_NAME ]; then