diff options
Diffstat (limited to 'git-shell-commands/change-description')
-rwxr-xr-x | git-shell-commands/change-description | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/git-shell-commands/change-description b/git-shell-commands/change-description index 437833c..730777c 100755 --- a/git-shell-commands/change-description +++ b/git-shell-commands/change-description @@ -1,12 +1,12 @@ #!/bin/sh -# Allows users to change project description -# $ ssh git@host change-description repo "description" +# * change-description +# Cambia la descripcion del projecto, necesita archivo description en el proyecto +# ssh git@host change-description repo "description" -set -E +set -e repo=$1; shift -description="$@" -echo "${repo}.git/${description}" > description +test -d ${repo}.git && echo "${@}" > ${repo}.git/description exit $? |