Standardizing for PKGBUILD
This commit is contained in:
15
Bash/header
15
Bash/header
@@ -249,3 +249,18 @@ function getmagnetlink {
|
||||
echo '<'$magnetlink'>'
|
||||
fi
|
||||
}
|
||||
|
||||
### AniNIX Foundation help ###
|
||||
|
||||
function findaninixcheckouts {
|
||||
find /usr/local/src/ -type f -name config -exec egrep -l 'url[[:space:]]=[[:space:]]/srv/foundation|url[[:space:]]=[[:space:]]https://aninix.net|url[[:space:]]=[[:space:]]([a-zA-Z0-9])+@aninix.net' {} \; 2>/dev/null | sed 's#.git/config$##'
|
||||
}
|
||||
|
||||
function aninixgitstatus {
|
||||
for i in `findaninixcheckouts`; do
|
||||
infoheader BEGIN REPORT for "$i"
|
||||
git -C "$i" status
|
||||
infoheader END REPORT
|
||||
echo
|
||||
done
|
||||
}
|
||||
|
Reference in New Issue
Block a user