summaryrefslogtreecommitdiffstats
path: root/ckeditor.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ckeditor.spec')
-rw-r--r--ckeditor.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/ckeditor.spec b/ckeditor.spec
index c74bd15..7fd3e46 100644
--- a/ckeditor.spec
+++ b/ckeditor.spec
@@ -37,6 +37,11 @@ mkdir doc
mv %{name}/{CHANGES,LICENSE}.html doc/
mv %{name}/_samples doc/
+# fix library path in provided samples
+sed -e 's:src="../ckeditor.js":src="/ckeditor/ckeditor.js":' \
+ -i doc/_samples/*.html
+
+
# PHP Library
mkdir php
mv %{name}/*php php/