11 lines
179 B
Plaintext
11 lines
179 B
Plaintext
|
#!/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
|
||
|
|