From c05fc7b29973022c7591be8f1e239a4b8adadc20 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Mon, 19 Dec 2016 22:45:37 +0300 Subject: [PATCH] use a regular docstring tmp file for usual permissions --- gen/docstring.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gen/docstring.sh b/gen/docstring.sh index 678e7356..6425b2b7 100755 --- a/gen/docstring.sh +++ b/gen/docstring.sh @@ -6,9 +6,7 @@ # command line flag. Thus the same documentation is used for online and # terminal display. -tmp=$(mktemp) - -[ -f docstring.go ] && rm docstring.go +tmp=gen/docstring.go echo "// DO NOT EDIT! (AUTO-GENERATED)" >> $tmp echo >> $tmp