mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
Fix shell script bug
This commit is contained in:
parent
3a9a327957
commit
5bd93186c2
@ -1,14 +1,14 @@
|
||||
language: python
|
||||
|
||||
python:
|
||||
#python:
|
||||
# - "2.6"
|
||||
- "2.7"
|
||||
# - "2.7"
|
||||
# - "3.2"
|
||||
# - "3.3"
|
||||
# - "3.4"
|
||||
# - "3.5"
|
||||
# - "3.5-dev" # 3.5 development branch
|
||||
- "3.6"
|
||||
# - "3.6"
|
||||
# - "3.6-dev" # 3.6 development branch
|
||||
# - "3.7-dev" # 3.7 development branch
|
||||
# - "nightly" # currently points to 3.7-dev
|
||||
|
4
build.sh
4
build.sh
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
if [[$PVERSION=2]]; then
|
||||
if [[ $PVERSION = 2 ]]; then
|
||||
python -m py_compile cps.py
|
||||
python -m py_compile cps/book_formats.py
|
||||
python -m py_compile cps/db.py
|
||||
@ -11,7 +11,7 @@ python -m py_compile cps/uploader.py
|
||||
python -m py_compile cps/web.py
|
||||
python -m py_compile cps.py
|
||||
fi
|
||||
f [[$PVERSION=3]]; then
|
||||
if [[ $PVERSION = 3 ]]; then
|
||||
python3.6 -m py_compile cps.py
|
||||
python3.6 -m py_compile cps/book_formats.py
|
||||
python3.6 -m py_compile cps/db.py
|
||||
|
Loading…
Reference in New Issue
Block a user