install: only attempt to create a target dir once
commit73055581c9ef167faff210338775f668277603ee
authorPádraig Brady <P@draigBrady.com>
Sat, 2 Jan 2016 22:14:41 +0000 (2 22:14 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 3 Jan 2016 12:58:39 +0000 (3 12:58 +0000)
tree5233a7554d95db3180c39f465c6ad314d6fe695f
parent6c65ce4c643b038c61bd332aab5ea87a75117273
install: only attempt to create a target dir once

* src/install.c (main): As an optimization, when calling
install_file_in_dir() for each file, only attempt to create
the target directory once, as this is invariant over the loop.
src/install.c