diff options
author | tv <tv@xso> | 2011-09-06 22:13:59 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-06 22:13:59 +0200 |
commit | 223af4b243b749a490f0698938e6655dc7ba67a4 (patch) | |
tree | 515e8484bf4cf1b2c94ab4b48937298e094c0e8d /meta/bin | |
parent | dafd45a75f6c433485d2ec0fd4b9539b89e59175 (diff) |
//meta/bin/update: print info only once
Diffstat (limited to 'meta/bin')
-rwxr-xr-x | meta/bin/update | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/bin/update b/meta/bin/update index 717b9e90..9b2289ad 100755 --- a/meta/bin/update +++ b/meta/bin/update @@ -4,12 +4,12 @@ set -euf cd $(dirname $(readlink -f $0))/../.. id=`ls -lnd . | awk '{print$3}'` -echo "// is $PWD owned by $id" - if test "${nosudo-false}" != true -a `id -u` != $id; then echo "we're going sudo..." >&2 exec sudo -u "#$id" "$0" "$@" exit 23 # go to hell fi +echo "// is $PWD owned by $id" + git pull |