mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
FIX
missing backslashes
This commit is contained in:
parent
193afacb6f
commit
64aee56940
1 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
:: change directory to etherpad-lite root
|
:: change directory to etherpad-lite root
|
||||||
cd /D "%~dp0.."
|
cd /D "%~dp0\.."
|
||||||
|
|
||||||
:: Is node installed?
|
:: Is node installed?
|
||||||
cmd /C node -e "" || ( echo "Please install node.js ( http://nodejs.org )" && exit /B 1 )
|
cmd /C node -e "" || ( echo "Please install node.js ( http://nodejs.org )" && exit /B 1 )
|
||||||
|
@ -16,14 +16,14 @@ mklink /D "ep_etherpad-lite" "..\src"
|
||||||
cd /D "ep_etherpad-lite"
|
cd /D "ep_etherpad-lite"
|
||||||
cmd /C npm install --loglevel warn || exit /B 1
|
cmd /C npm install --loglevel warn || exit /B 1
|
||||||
|
|
||||||
cd /D "%~dp0.."
|
cd /D "%~dp0\.."
|
||||||
|
|
||||||
echo _
|
echo _
|
||||||
echo Copying custom templates...
|
echo Copying custom templates...
|
||||||
set custom_dir=node_modules\ep_etherpad-lite\static\custom
|
set custom_dir=node_modules\ep_etherpad-lite\static\custom
|
||||||
FOR %%f IN (index pad timeslider) DO (
|
FOR %%f IN (index pad timeslider) DO (
|
||||||
if NOT EXIST "%custom_dir%%%f.js" copy "%custom_dir%\js.template" "%custom_dir%%%f.js"
|
if NOT EXIST "%custom_dir%\%%f.js" copy "%custom_dir%\js.template" "%custom_dir%\%%f.js"
|
||||||
if NOT EXIST "%custom_dir%%%f.css" copy "%custom_dir%\css.template" "%custom_dir%%%f.css"
|
if NOT EXIST "%custom_dir%\%%f.css" copy "%custom_dir%\css.template" "%custom_dir%\%%f.css"
|
||||||
)
|
)
|
||||||
|
|
||||||
echo _
|
echo _
|
||||||
|
|
Loading…
Reference in a new issue