From 219c3d3cf2b6cf8297a4159234009a1b3f56ded4 Mon Sep 17 00:00:00 2001 From: Alexandre De Oliveira Date: Wed, 22 Oct 2014 16:36:04 +0200 Subject: [PATCH] Update rules Fixing error for Debian GNU/Linux 7 During install launching: $ debuild binary Select your operating system below: 1: Linux 2: FreeBSD 3: Solaris 4: Mac OS X 5: OpenBSD Which is your operating system (1 - 5) ? : Wrong number. make[1]: *** [configure_config] Error 1 make[1]: Leaving directory `/usr/local/src/SoftEtherVPN' make: *** [binary] Error 2 debuild: fatal error at line 1333: couldn't exec debian/rules: --- debian/rules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 8026117e..4af6821b 100755 --- a/debian/rules +++ b/debian/rules @@ -18,7 +18,7 @@ override_dh_auto_install: make install configure_config: - if [ $(shell uname -m) = 'x86_64' ]; then echo "1\n2\n" | ./configure; fi - if [ $(shell uname -m) = 'i686' ]; then echo "1\n1\n" | ./configure; fi - if [ $(shell uname -m) = 'armv6l' ]; then echo "1\n1\n" | ./configure; fi + if [ $(shell uname -m) = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi + if [ $(shell uname -m) = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi + if [ $(shell uname -m) = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi