Compare commits

...

2 Commits

Author SHA1 Message Date
9db7680605 bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2024-10-23 00:31:51 +03:00
cb9f951531 added default list...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2024-10-23 00:30:06 +03:00

View File

@ -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' \