summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index a012ce7..e1ae511 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
include_file() {
f=`echo -n $2 | sed 's/\//\\\\\//g'`
- tmp=`tempfile -p "figitive"`
+ tmp=`mktemp --suffix "-fugitive"`
cat "$2" | gzip | base64 > "$tmp"
cat "$1" | sed "/#INCLUDE:$f#/ {
r $tmp
@@ -12,7 +12,7 @@ include_file() {
cp install.sh tmp1
i=1
-for f in README post-commit.sh post-receive.sh html-gen.sh default-files/*; do
+for f in README *-*.sh default-files/*; do
j=$((1 - i))
include_file tmp$i "$f" > tmp$j
i=$j