aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-19 12:43:09 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-19 12:43:09 -0200
commitd69a3e065fd195ed1848225925e25581d1a9ce8f (patch)
treeb92416684d91de2c7dda1cf283c6c086fe549516
parent70cc678f95bc4bda9c4f25733499c944716dc1f1 (diff)
downloadhydra-d69a3e065fd195ed1848225925e25581d1a9ce8f.tar.gz
hydra-d69a3e065fd195ed1848225925e25581d1a9ce8f.tar.bz2
Config: create config param folder
-rwxr-xr-xshare/hydra/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/hydra/config b/share/hydra/config
index 1b730b8..371d031 100755
--- a/share/hydra/config
+++ b/share/hydra/config
@@ -39,6 +39,7 @@ elif [ -z "$VALUE" ]; then
echo "No such config parameter $KEY."
fi
else
+ mkdir -p `dirname $KEY`
echo "$VALUE" > $HYDRA_FOLDER/config/$KEY
hydra $HYDRA git config add $KEY
echo ""