commit | author | age | ||
2ea406 | 1 | #!/bin/bash |
JG | 2 | |
3 | CHDIR=$(dirname "$(realpath $0)")/chroot | |
4 | mount --bind $CHDIR $CHDIR | |
5 | $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 \; | |
6 | find /build/repo -maxdepth 1 -not -path '*\/.*' -type d -exec git -C {} fetch \; -exec git -C {} reset --hard origin/master \;" | |
7 | umount $CHDIR |