summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-12 17:02:09 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-12 17:02:09 +0100
commit3d5c767a3c58704a21589d47f0bd416f2cf4aac9 (patch)
treef294e3c59aa420906b170e85b0bc391446a3cd4a
parentdeb30582a5ec9e47830993e283ff9a3b35ce6c47 (diff)
ckeditor: fix samples
-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/