Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 79CCD200CC4 for ; Wed, 28 Jun 2017 13:48:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 78B73160BE8; Wed, 28 Jun 2017 11:48:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E3B26160BF7 for ; Wed, 28 Jun 2017 13:48:35 +0200 (CEST) Received: (qmail 48359 invoked by uid 500); 28 Jun 2017 11:48:35 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 48341 invoked by uid 99); 28 Jun 2017 11:48:35 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2017 11:48:35 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F02F8DFBDA; Wed, 28 Jun 2017 11:48:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bdelacretaz@apache.org To: commits@sling.apache.org Date: Wed, 28 Jun 2017 11:48:35 -0000 Message-Id: <5ab00dc0fd1a4c24a34222b7047cd827@git.apache.org> In-Reply-To: <936e546e7b7f4a1e9fa26a917606818c@git.apache.org> References: <936e546e7b7f4a1e9fa26a917606818c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] sling-site git commit: Fix test script archived-at: Wed, 28 Jun 2017 11:48:36 -0000 Fix test script Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/10df89aa Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/10df89aa Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/10df89aa Branch: refs/heads/master Commit: 10df89aadc4d12e62802116eac55aeaa3a754aef Parents: da53f42 Author: Bertrand Delacretaz Authored: Wed Jun 28 13:47:06 2017 +0200 Committer: Bertrand Delacretaz Committed: Wed Jun 28 13:47:06 2017 +0200 ---------------------------------------------------------------------- ARCHIVE/conversion-scripts/open-all-pages.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/10df89aa/ARCHIVE/conversion-scripts/open-all-pages.sh ---------------------------------------------------------------------- diff --git a/ARCHIVE/conversion-scripts/open-all-pages.sh b/ARCHIVE/conversion-scripts/open-all-pages.sh index d042b23..6b61c0a 100755 --- a/ARCHIVE/conversion-scripts/open-all-pages.sh +++ b/ARCHIVE/conversion-scripts/open-all-pages.sh @@ -1,6 +1,8 @@ +export SRC="src/main/jbake/content" +export PAT=".*jbake.*content" export BASE="http://localhost:8820" -find content -type f | sort | sed 's/\.md$/\.html/' | sed 's/^content//' | while read f +find $SRC -type f | sort | sed 's/\.md$/\.html/' | sed "s/${PAT}//" | while read f do - open $BASE$f -done \ No newline at end of file + open $BASE$f +done