Skip to content

Commit

Permalink
Item1231: twiki2foswiki script sees $Foswiki as a variable
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@2945 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Mar 9, 2009
1 parent 48811fa commit d3422ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/tools/twiki2foswiki
Expand Up @@ -3,7 +3,6 @@
#
# KNOWN LIMITATATIONS: (feel free to add support for any of these, if needed ;-) )
# * TWiki*DotPm (probably) gets converted to Foswiki*DotPm, should be: %SCRIPTURL{view}%/%SYSTEMWEB%/PerlDoc?module=Foswiki::*
# * does not remove Benchmark and Appraisal rows from plugin description forms

if [ $# -ne 1 ]
then
Expand Down Expand Up @@ -66,8 +65,8 @@ do
sed -i -e "s/twiki\([A-Z][A-Za-z]\+\)/foswiki\1/g" $file
sed -i -e "s/'twiki'/'foswiki'/g" $file
sed -i -e "s/TWikiCompatibility/FoswikiCompatibility/g" $file
sed -i -e "s/&Foswiki::Func::getTwikiWebname()/$Foswiki::cfg{SystemWebName}/g" $file
sed -i -e "s/Foswiki::Func::getTwikiWebname()/$Foswiki::cfg{SystemWebName}/g" $file
sed -i -e 's/&Foswiki::Func::getTwikiWebname()/$Foswiki::cfg{SystemWebName}/g' $file
sed -i -e 's/Foswiki::Func::getTwikiWebname()/$Foswiki::cfg{SystemWebName}/g' $file
sed -i -e "s/^=begin twiki/=begin TML/g" $file
done

Expand Down

0 comments on commit d3422ff

Please sign in to comment.