From 98f2603130ea20b739230d3e10cbae938d4f4cb6 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 12 Feb 2012 17:03:58 -0600 Subject: [PATCH] Whitespace cleanup --- flag | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/flag b/flag index 1a38a6b..7eceef1 100755 --- a/flag +++ b/flag @@ -35,7 +35,7 @@ find_crc32_bin() { fi fi done - + if [ -z "${crc32}" ] then for bin in ruby php perl @@ -48,12 +48,12 @@ find_crc32_bin() { */php) bin="${bin} -r 'printf(\"%08x\n\", crc32(file_get_contents(\"/dev/stdin\")));'" ;; */perl) bin="${bin} -e 'use String::CRC32; printf(\"%08x\n\", crc32(*STDIN));'" ;; esac - export crc32_bin="${bin}" - if [ "$(hash_string "meow" 2>/dev/null)" = "8a106afe" ] - then - crc32="${bin}" - break - fi + export crc32_bin="${bin}" + if [ "$(hash_string "meow" 2>/dev/null)" = "8a106afe" ] + then + crc32="${bin}" + break + fi fi done fi @@ -164,9 +164,9 @@ shellmode="" while [ -n "${1}" ] do case "${1}" in - -s) shift; symbol="${1}" ;; - -e) shellmode="yes" ;; - *) pebkac ;; + -s) shift; symbol="${1}" ;; + -e) shellmode="yes" ;; + *) pebkac ;; esac shift done -- 2.42.0