aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-11-16 21:21:51 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-11-16 21:21:51 -0500
commit6b503b8984cf3c5848522d7dcb6ccc72939eedc7 (patch)
tree772a692f5af26b389b1e8186b5c58a28d066a367 /lib
parentb4ff8748d593c9dfd162dabfbdd5bb33d44cd399 (diff)
downloadkeyringer-6b503b8984cf3c5848522d7dcb6ccc72939eedc7.tar.gz
keyringer-6b503b8984cf3c5848522d7dcb6ccc72939eedc7.tar.bz2
do not complain if the config directory already exists when creating it.
Diffstat (limited to 'lib')
-rw-r--r--lib/keyringer/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index c78b9d3..5c4b5da 100644
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -14,7 +14,7 @@ function keyringer_config_load {
if [ ! -e "$CONFIG" ]; then
echo "Creating $CONFIG..."
- mkdir `dirname $CONFIG`
+ mkdir -p `dirname $CONFIG`
touch $CONFIG
chmod 600 $CONFIG
echo "# Keyringer config file." > $CONFIG