summaryrefslogtreecommitdiff
blob: ffc0d9b555b10d149b18cf72f11c8c80108f9830 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- backintime-1.1.4/common/configure
+++ backintime-1.1.4/common/configure
@@ -84,7 +84,7 @@
 done
 printf "\n" >> Makefile
 
-if [ $(python${PYVERSION} --version | grep -c "^Python 3") -ne 1 ]; then
+if [ $(python${PYVERSION} --version 2>&1 | grep -c "^Python 3") -ne 1 ]; then
     printf "Warning: Wrong Python version.\n"
     printf "Please make sure Python 3.x is used by adding '--python' or '--python3'.\n"
     exit 1