summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-12-26 04:05:26 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2013-12-26 04:05:26 +0100
commitca95a47a93b404cf82362d29f991adfdf4e4c38c (patch)
treedd8b446ba52cc8047034fbf3c9285255c1b3d02f
parenta26bebbeb94207698d20f43485098ead64bb6c67 (diff)
downloadvim-polyglot-ca95a47a93b404cf82362d29f991adfdf4e4c38c.tar.gz
vim-polyglot-ca95a47a93b404cf82362d29f991adfdf4e4c38c.zip
Change strategy to appending instead of copying
-rwxr-xr-xbuild3
-rw-r--r--[-rwxr-xr-x]syntax/coffee.vim0
2 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 7497e9db..b6a92a96 100755
--- a/build
+++ b/build
@@ -54,7 +54,8 @@ copy_dir() {
for file in $(find "$1/$2" -name '*.vim'); do
file_path="$(dirname "${file##$1/}")"
mkdir -p "$file_path"
- cp $file $file_path/
+ touch $file_path/$file
+ cat $file >> $file_path/$(basename "$file")
done
}
diff --git a/syntax/coffee.vim b/syntax/coffee.vim
index 7f8df73c..7f8df73c 100755..100644
--- a/syntax/coffee.vim
+++ b/syntax/coffee.vim