git-shell-commands/desc

11 lines
179 B
Plaintext
Raw Normal View History

2022-04-02 09:15:10 +00:00
#!/bin/sh
if [ "$#" -eq 1 ] ; then
cat "$1/description"
elif [ "$#" -eq 2 ] ; then
echo $2 > "$1/description"
else
echo "usage: ${0} <repo path> [<description>]"
fi