summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-08 18:37:07 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-08 18:37:07 +0200
commit954fbf673152640b035d02b589534ab522b5856e (patch)
treee62919bb712fe3fc09bf5ba7e3be4a12002a34b9 /fb.in
parent1abfd6200ebc17de7eb1a151fa0c901f757cd838 (diff)
Create all required directories for apikeyv1.3.1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index 06fa4e2..e14fa31 100644
--- a/fb.in
+++ b/fb.in
@@ -262,7 +262,7 @@ create_apikey() {
if [ "$status_code" == "200" ]; then
if [ ! -d "$XDG_CONFIG_HOME/fb-client/" ]; then
- mkdir "$XDG_CONFIG_HOME/fb-client"
+ mkdir -p "$XDG_CONFIG_HOME/fb-client"
fi
head -n 1 "$tmpdir/api-result" > "$apikey_file"
return 0