diff options
author | p4bl0 <pablo@rauzy.name> | 2010-08-08 19:46:29 +0200 |
---|---|---|
committer | p4bl0 <pablo@rauzy.name> | 2010-08-08 19:46:29 +0200 |
commit | 18f54a6df31ba47100b98ceb8aef66c967c618c9 (patch) | |
tree | 0036f432dcbbd47026ae68421a590642f63e651a /install.sh | |
parent | c661fda93d737e0b919fd40dcace5ca46bb937a2 (diff) |
fixed little bug (sh doesn't know about &> redirection)
Diffstat (limited to 'install.sh')
-rw-r--r-- | install.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -89,14 +89,14 @@ EOF echo "done." echo -n "Importing files into git repository... " git add _templates/* _public/*.css >/dev/null - git commit -m "fugitive inital import" &>/dev/null + git commit -m "fugitive inital import" >/dev/null 2>&1 echo "done." echo "Writing dummy article (README) and adding it to the repos... " (base64 -d | gunzip) > _articles/README <<EOF #INCLUDE:README# EOF git add _articles/README - git ci -m "fugitive: README" >/dev/null + git commit -m "fugitive: README" >/dev/null echo "done." fi echo "Installation complete, please set your blog url using" @@ -105,9 +105,9 @@ EOF } case "$1" in - "--help"|"-h") fugitive_help >&2;; + "--help"|"-h") fugitive_help >&2;; # TODO "--install"|"--install-local") fugitive_install "$2" "local";; "--install-remote") fugitive_install "$2" "remote";; "--install-hooks") fugitive_install_hooks "$2";; - *) fugitive_usage >&2;; + *) fugitive_usage >&2;; # TODO esac |