11 lines
179 B
Bash
Executable file
11 lines
179 B
Bash
Executable file
#!/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
|
|
|