File: git-post-update

package info (click to toggle)
debian-timeline 38
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 240 kB
  • sloc: python: 115; makefile: 46; sh: 5
file content (6 lines) | stat: -rwxr-xr-x 221 bytes parent folder | download
1
2
3
4
5
6
#!/bin/sh
set -e
umask 002
git --work-tree=../build reset --hard master
make -C ../build install prefix= datadir= DESTDIR=../htdocs symlinks=0
sudo -u staticsync /usr/local/bin/static-update-component timeline.debian.net