diff options
author | Peter Palfrader <peter@palfrader.org> | 2011-10-09 17:00:38 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2011-10-09 17:00:38 +0000 |
commit | 385529f926e4326bc7badd18bbec49c9158429eb (patch) | |
tree | 1f09dc79379346c5ceaacc28f117ad160452c688 | |
parent | 4dfddf86d8a0a514f00bafca8c50342267f97d81 (diff) |
make downloads dir +t
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@490 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | create-temp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/create-temp b/create-temp index a022058..982e827 100755 --- a/create-temp +++ b/create-temp @@ -32,6 +32,7 @@ rmdir "$BASE/"*"/downloads" 2> /dev/null || true rmdir "$BASE/"* 2> /dev/null || true [ -d "$BASE/$TODAY" ] || mkdir "$BASE/$TODAY" +[ -d "$BASE/$TODAY/downloads" ] || mkdir -m 1773 "$BASE/$TODAY/downloads" if ! [ -L "$TARGET" ] && [ -e "$TARGET" ]; then echo "$0: '$TARGET' already exists and is not a symlink." >&2 exit 1; |