commit 20443aa068d18a1fc0e327f30ed23bddf7d98ec5
parent fe54ce946c0437c037e69eddf318e1a8781c73ed
Author: Alexx Saver <lzsaver@users.noreply.github.com>
Date: Mon, 22 Jan 2018 21:40:16 +0400
Follow-up fe54ce9
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/make_packages b/contrib/make_packages
@@ -1,11 +1,12 @@
#!/bin/bash
contrib=$(dirname "$0")
+test -n "$contrib" -a -d "$contrib" || exit
whereis pip3
if [ $? -ne 0 ] ; then echo "Install pip3" ; exit ; fi
-rm $contrib/../packages/ -r
+rm "$contrib"/../packages/ -r
#Install pure python modules in electrum directory
pip3 install -r $contrib/requirements.txt -t $contrib/../packages