local.sh 141 Bytes
Newer Older
1 2
#!/usr/bin/env bash

Vladimír Štill's avatar
Vladimír Štill committed
3
cd /root/arch-deploy || exit 1
4
if git pull --rebase; then
root's avatar
root committed
5
    bash -c "$@"
6 7
else
    echo "GIT failed" >&2
Vladimír Štill's avatar
Vladimír Štill committed
8
    exit 1
9
fi