pimoroni / get

Install and helper scripts for Raspbian on the Raspberry Pi
Other
9 stars 7 forks source link

Remove un-needed 'export' statements #39

Closed lurch closed 8 years ago

lurch commented 8 years ago

...since the directory that $TMPDIR refers to gets deleted just a few lines later anyway!

Also make the update-existing-examples use a shallow clone too. (perhaps in future the identical code-blocks between mktemp -d ... and rm -rf ... could be extracted into a single reusable function)

RogueM commented 8 years ago

good idea.

... exports are part of a failed attempt of passing around the need to reboot, hopefully I can get this work soon.

RogueM commented 8 years ago

of yeah, sorry, THAT export, I need to learn to read what is being commented on before I comment...

RogueM commented 8 years ago

good catch on the truncated clone btw, that wasn't even the instance I intended, but there's no reason to pull a full history just to copy over the most recent!