dashboard
repositories
filestore
activity
search
login
main
/
Arch-autobuild-repo
mirror of
https://github.com/Chizi123/Arch-autobuild-repo.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
glob adding didn't work
Joel Grunbaum
2019-08-23
f9958bf7b1694b7a3dd1b431323b798debf46281
[Arch-autobuild-repo.git]
/
fix_AUR.sh
1
2
3
4
5
6
7
#!/bin/bash
CHDIR=$(dirname "$(realpath $0)")/chroot
mount --bind $CHDIR $CHDIR
$CHDIR/bin/arch-chroot $CHDIR su joel -c "find /build/repo/dependencies -maxdepth 1 -not -path '*\/.*' -type d -exec git -C {} fetch \; -exec git -C {} reset --hard origin/master \;
find /build/repo -maxdepth 1 -not -path '*\/.*' -type d -exec git -C {} fetch \; -exec git -C {} reset --hard origin/master \;"
umount $CHDIR