mirror of
https://github.com/flynx/git-utils.git
synced 2025-10-28 10:40:08 +00:00
Compare commits
2 Commits
c0c8dd5eca
...
9db7680605
| Author | SHA1 | Date | |
|---|---|---|---|
| 9db7680605 | |||
| cb9f951531 |
@ -2,6 +2,8 @@
|
||||
|
||||
shopt -s globstar
|
||||
|
||||
DFL_LIST=repos.lst
|
||||
|
||||
while true ; do
|
||||
case $1 in
|
||||
-h|--help)
|
||||
@ -47,8 +49,11 @@ TARGET_PATH=${TARGET_PATH:=.}
|
||||
cd "$TARGET_PATH"
|
||||
|
||||
if [ -z $LIST ] ; then
|
||||
echo "need a list file..." >&2
|
||||
exit 1
|
||||
if ! [ -e $DFL_LIST ] ; then
|
||||
echo "need a list file..." >&2
|
||||
exit 1
|
||||
fi
|
||||
LIST=$DFL_LIST
|
||||
fi
|
||||
|
||||
IFS=$'\n' \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user