Skip to content
Snippets Groups Projects
Commit 7411032c authored by Stuffed's avatar Stuffed
Browse files

Make a symlink soft link to resources inside bin/ to make sure that the...

Make a symlink soft link to resources inside bin/  to make sure that the compiled html can actually access the images
parent b680f8ef
No related branches found
No related tags found
1 merge request!3932Pregmod master
...@@ -69,4 +69,6 @@ fi ...@@ -69,4 +69,6 @@ fi
sed -i -e '/^.*<div id="store-area".*$/s/\\t/\t/g' -e '/^.*<div id="store-area".*$/s/\\n/\n/g' bin/FC_pregmod_tmp.html \ sed -i -e '/^.*<div id="store-area".*$/s/\\t/\t/g' -e '/^.*<div id="store-area".*$/s/\\n/\n/g' bin/FC_pregmod_tmp.html \
&& mv bin/FC_pregmod_tmp.html bin/FC_pregmod.html && mv bin/FC_pregmod_tmp.html bin/FC_pregmod.html
ln -s ../resources bin/ 2> /dev/null
echo "bin/FC_pregmod.html compilation finished." echo "bin/FC_pregmod.html compilation finished."
...@@ -43,4 +43,6 @@ $TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/ ...@@ -43,4 +43,6 @@ $TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/
sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' "bin/FC_pregmod_${HASH}_tmp.html" \ sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' "bin/FC_pregmod_${HASH}_tmp.html" \
&& mv "bin/FC_pregmod_${HASH}_tmp.html" "bin/FC_pregmod_${HASH}.html" && mv "bin/FC_pregmod_${HASH}_tmp.html" "bin/FC_pregmod_${HASH}.html"
ln -s ../resources bin/ 2> /dev/null
echo "bin/FC_pregmod_$HASH.html compilation finished." echo "bin/FC_pregmod_$HASH.html compilation finished."
...@@ -43,4 +43,6 @@ $TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/ ...@@ -43,4 +43,6 @@ $TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/
sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' "bin/FC_pregmod_${HASH}_tmp.html" \ sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' "bin/FC_pregmod_${HASH}_tmp.html" \
&& mv "bin/FC_pregmod_${HASH}_tmp.html" "bin/FC_pregmod_${HASH}.html" && mv "bin/FC_pregmod_${HASH}_tmp.html" "bin/FC_pregmod_${HASH}.html"
ln -s ../resources bin/ 2> /dev/null
echo "FC_pregmod_$HASH.html compilation finished." echo "FC_pregmod_$HASH.html compilation finished."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment