blob: 98a69257b49b1914abd3f2193b9eb3975e86a020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/sh
set -euf
if test "${nosudo-false}" != true -a `id -u` != 0; then
echo "we're going sudo..." >&2
exec sudo "$0" "$@"
exit 23 # go to hell
fi
set -x
cd $(dirname $(readlink -f $0))`
git pull
|