From e8280e642cc24035cb8505301ea027f2c8182974 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Thu, 12 Mar 2015 17:54:15 +0100 Subject: [PATCH] fix scripts/get-repository.sh to match website/render.sh Signed-off-by: Nicolas Sebrecht --- scripts/get-repository.sh | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/scripts/get-repository.sh b/scripts/get-repository.sh index 65704ad..080815c 100755 --- a/scripts/get-repository.sh +++ b/scripts/get-repository.sh @@ -49,40 +49,6 @@ function setup () { fi } -function write_renderer () { - cat < "$renderer" - chmod u+x "$renderer" + sed -r -i -e "s,{{USERNAME}},$1," "$renderer" cd .. else - echo "ERROR: could not write renderer." + echo "ERROR: could not enter ./website. (?)" fi }