anal retentive changes

OCD
This commit is contained in:
Jacob Salmela 2015-11-06 17:14:05 -06:00
parent c297a86211
commit 932d410b66
1 changed files with 3 additions and 3 deletions

View File

@ -76,9 +76,9 @@ do
esac esac
# tmp file, so we don't have to store the (long!) lists in RAM # tmp file, so we don't have to store the (long!) lists in RAM
patternBuffer=`mktemp` patternBuffer=$(mktemp)
heisenbergCompensator="" heisenbergCompensator=""
if [ -r $saveLocation ]; then if [[ -r $saveLocation ]]; then
heisenbergCompensator="-z $saveLocation" heisenbergCompensator="-z $saveLocation"
fi fi
CMD="$cmd -s $heisenbergCompensator -A '$agent' $url > $patternBuffer" CMD="$cmd -s $heisenbergCompensator -A '$agent' $url > $patternBuffer"
@ -97,7 +97,7 @@ do
echo "Skipping pattern because transporter logic detected no changes..." echo "Skipping pattern because transporter logic detected no changes..."
fi fi
# cleanup # Cleanup
rm -f $patternBuffer rm -f $patternBuffer
done done