projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
598869a
)
release.sh: also check for python3 rsa module
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 21 May 2016 19:46:42 +0000
(21:46 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 21 May 2016 19:47:22 +0000
(21:47 +0200)
devscripts/release.sh
patch
|
blob
|
history
diff --git
a/devscripts/release.sh
b/devscripts/release.sh
index 8b37152a7ef442034843520537ab22af2447343e..7dd391b385b7b3564e5f4900244ccfc109579cf1 100755
(executable)
--- a/
devscripts/release.sh
+++ b/
devscripts/release.sh
@@
-33,7
+33,8
@@
if [ ! -z "`git status --porcelain | grep -v CHANGELOG`" ]; then echo 'ERROR: th
useless_files=$(find youtube_dl -type f -not -name '*.py')
if [ ! -z "$useless_files" ]; then echo "ERROR: Non-.py files in youtube_dl: $useless_files"; exit 1; fi
if [ ! -f "updates_key.pem" ]; then echo 'ERROR: updates_key.pem missing'; exit 1; fi
useless_files=$(find youtube_dl -type f -not -name '*.py')
if [ ! -z "$useless_files" ]; then echo "ERROR: Non-.py files in youtube_dl: $useless_files"; exit 1; fi
if [ ! -f "updates_key.pem" ]; then echo 'ERROR: updates_key.pem missing'; exit 1; fi
-if ! type pandoc 2>/dev/null; then echo 'ERROR: pandoc is missing'; exit 1; fi
+if ! type pandoc >/dev/null 2>/dev/null; then echo 'ERROR: pandoc is missing'; exit 1; fi
+if ! python3 -c 'import rsa' 2>/dev/null; then echo 'ERROR: python3-rsa is missing'; exit 1; fi
/bin/echo -e "\n### First of all, testing..."
make clean
/bin/echo -e "\n### First of all, testing..."
make clean