Commit c5bc6f97 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

fck2

parent 45262674
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ if [ -n "$OPENWRT_GIT_URL" ]; then
        git reset --hard || die "Couldn't reset repo"
        git pull || die "Couldn't pull repo"

        LC_ALL=C.UTF-8 rsync -vax --delete-after --exclude '*-opkg' --exclude 'etc/uci-defaults/*' -e "ssh -p ${OPENWRT_SSH_PORT:-22}" "${OPENWRT_SSH_HOST:-root@192.168.0.1}:/overlay/upper/" overlay/ || die "Couldn't rsync config"
        LC_ALL=C.UTF-8 rsync -vax --delete-after --exclude '*-opkg' -e "ssh -p ${OPENWRT_SSH_PORT:-22}" "${OPENWRT_SSH_HOST:-root@192.168.0.1}:/overlay/upper/" overlay/ || die "Couldn't rsync config"
        git add -A || die "Couldn't add files"

        if [ -n "$(git status -su)" ]; then