mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
pgit.sh: Fix warning on nonexistent ls */.git
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
0528d17ecc
commit
76b6084b43
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ config()
|
|||
[ "$pdir" = / ] && fatal "didn't find \"proj\" in directory components"
|
||||
pdir=`dirname $pdir`
|
||||
done
|
||||
pdirs=`(cd $pdir; ls -d */.git | sed 's%/.git%%')`
|
||||
pdirs=`(cd $pdir; ls -d */.git 2>/dev/null | sed 's%/.git%%')`
|
||||
}
|
||||
|
||||
# ------------- commands
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue