minor issues with arg passing
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
#!/bin/sh -f
|
||||
|
||||
if [ $# -eq '2' ]; then
|
||||
echo usage: $0 nickname
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo usage: $0 repository
|
||||
echo "Repositories:"
|
||||
ls extend/theme
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd extend/theme/$1
|
||||
git pull
|
||||
|
||||
if [ -d .git ] ; then
|
||||
git pull
|
||||
fi
|
||||
|
Reference in New Issue
Block a user