diff options
-rwxr-xr-x | contrib/peer2anonet/peer2anonet | 16 | ||||
-rwxr-xr-x | contrib/splicex/configure | 1 | ||||
-rw-r--r-- | contrib/splicex/src/make.in | 2 | ||||
-rw-r--r-- | contrib/splicex/src/pymake.in | 2 |
4 files changed, 11 insertions, 10 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet index 4895df2..715f507 100755 --- a/contrib/peer2anonet/peer2anonet +++ b/contrib/peer2anonet/peer2anonet @@ -413,14 +413,14 @@ CONFIGURE_DNS(){ ) echo -e '\nCONFIGURE DNS:\n' - NICK=`cat conf/git_name` - TINYDNS_ROOT_IP=`cat conf/tinydns__rootsrvrip` - TINYDNS_ROOT_DOMAIN=`cat conf/tinydns__rootsrvrname` - TINYDNS_ANO_IP=`cat conf/tinydns__tldsrvrip` - TINYDNS_ANO_DOMAIN=`cat conf/tinydns__tldsrvrname` - TINYDNS_IP=`cat conf/tinydns__srvrip` - TINYDNS_DOMAIN=`cat conf/tinydns__srvrname` - GIT_IP=`cat conf/gitd_ip` + NICK=`cat conf/git_name` || exit 1 + TINYDNS_ROOT_IP=`cat conf/tinydns__rootsrvrip` || exit 1 + TINYDNS_ROOT_DOMAIN=`cat conf/tinydns__rootsrvrname` || exit 1 + TINYDNS_ANO_IP=`cat conf/tinydns__tldsrvrip` || exit 1 + TINYDNS_ANO_DOMAIN=`cat conf/tinydns__tldsrvrname` || exit 1 + TINYDNS_IP=`cat conf/tinydns__srvrip` || exit 1 + TINYDNS_DOMAIN=`cat conf/tinydns__srvrname` || exit 1 + GIT_IP=`cat conf/gitd_ip` || exit 1 GIT_DOMAIN="git.$NICK.ano" ip addr add $TINYDNS_ROOT_IP/32 dev lo > /dev/null 2>&1 diff --git a/contrib/splicex/configure b/contrib/splicex/configure index a01825c..ad7492d 100755 --- a/contrib/splicex/configure +++ b/contrib/splicex/configure @@ -74,6 +74,7 @@ if [ -z "$2" ]; then fi fi echo +mkdir -p build || exit 1 if [ -z "$2" ]; then sed -e s^PYTHON^"$PYPATH"^g src/splicex.py >build/splicex || exit 1 sed -e s^PYTHON^"$PYPATH"^g src/splicex-deshadow.py >build/splicex-deshadow || exit 1 diff --git a/contrib/splicex/src/make.in b/contrib/splicex/src/make.in index 3ebd9a0..cc6ff49 100644 --- a/contrib/splicex/src/make.in +++ b/contrib/splicex/src/make.in @@ -61,7 +61,7 @@ uninstall: rm -f /usr/bin/splicex-deshadow clean: - rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf + rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf preinstall: rm -rf /etc/splicex diff --git a/contrib/splicex/src/pymake.in b/contrib/splicex/src/pymake.in index 5ca74e2..2c0cc44 100644 --- a/contrib/splicex/src/pymake.in +++ b/contrib/splicex/src/pymake.in @@ -48,7 +48,7 @@ uninstall: rm -f /usr/bin/splicex-deshadow clean: - rm Makefile DEBIAN/splicex DEBIAN/*.deb build/* -rf + rm Makefile DEBIAN/splicex DEBIAN/*.deb build -rf preinstall: rm -rf /etc/splicex |