From 932d410b66e0fda80ea78b894c9427121d3d8b4a Mon Sep 17 00:00:00 2001 From: Jacob Salmela Date: Fri, 6 Nov 2015 17:14:05 -0600 Subject: [PATCH] anal retentive changes OCD --- gravity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gravity.sh b/gravity.sh index b157adb..4c191c3 100755 --- a/gravity.sh +++ b/gravity.sh @@ -76,9 +76,9 @@ do esac # tmp file, so we don't have to store the (long!) lists in RAM - patternBuffer=`mktemp` + patternBuffer=$(mktemp) heisenbergCompensator="" - if [ -r $saveLocation ]; then + if [[ -r $saveLocation ]]; then heisenbergCompensator="-z $saveLocation" fi CMD="$cmd -s $heisenbergCompensator -A '$agent' $url > $patternBuffer" @@ -97,7 +97,7 @@ do echo "Skipping pattern because transporter logic detected no changes..." fi - # cleanup + # Cleanup rm -f $patternBuffer done