From 0ca09d985df3c713d3c466b6a147d18d60604cfe Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 10 Oct 2017 19:17:17 +0000 Subject: [PATCH] use asknot-ng dir for git checkout and building whatcanidoforfedora.org site --- roles/whatcanidoforfedora/build/files/sync-wcidff.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/whatcanidoforfedora/build/files/sync-wcidff.sh b/roles/whatcanidoforfedora/build/files/sync-wcidff.sh index 4e08311e75..280227430e 100644 --- a/roles/whatcanidoforfedora/build/files/sync-wcidff.sh +++ b/roles/whatcanidoforfedora/build/files/sync-wcidff.sh @@ -1,14 +1,14 @@ #!/bin/bash # Borrowed heavily from the syncStatic cronjob script. -if [ ! -d /srv/web/whatcanidoforfedora.org/.git ] +if [ ! -d /srv/web/asknot-ng/.git ] then /usr/bin/git clone -q \ https://github.com/fedora-infra/asknot-ng.git \ - /srv/web/whatcanidoforfedora.org + /srv/web/asknot-ng fi -cd /srv/web/whatcanidoforfedora.org +cd /srv/web/asknot-ng /usr/bin/git clean -q -fdx || exit 1 /usr/bin/git reset -q --hard || exit 1