iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor fixes
[distro-setup]
/
mail-setup
diff --git
a/mail-setup
b/mail-setup
index d3d1056e3d336bf6746591ff58f5caab6d977e7d..abd863370b1b04440f6df6ed6a32d3f704d0f344 100755
(executable)
--- a/
mail-setup
+++ b/
mail-setup
@@
-287,7
+287,8
@@
i() { # install file
local base="${dest##*/}"
local dir="${dest%/*}"
if [[ $dir != "$base" ]]; then
- mkdir -p ${dest%/*}
+ # dest has a directory component
+ mkdir -p "$dir"
fi
ir=false # i result
tmpdir=$(mktemp -d)