From 08c1b84f49d42aeaec0db015afb95c75b73b88f8 Mon Sep 17 00:00:00 2001 From: bedefaced Date: Fri, 14 Apr 2017 17:49:49 +0300 Subject: [PATCH] quotes fix --- ipsec/adduser.sh | 2 +- ipsec/checkuser.sh | 2 +- ipsec/deluser.sh | 2 +- ipsec/dns.sh | 2 +- ipsec/install.sh | 2 +- ipsec/iptables-setup.sh | 2 +- ipsec/psk.sh | 2 +- ipsec/sysctl.sh | 2 +- pptp/adduser.sh | 2 +- pptp/checkuser.sh | 2 +- pptp/deluser.sh | 2 +- pptp/dns.sh | 2 +- pptp/install.sh | 2 +- pptp/iptables-setup.sh | 2 +- pptp/sysctl.sh | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ipsec/adduser.sh b/ipsec/adduser.sh index 0f831b7..5eefe55 100755 --- a/ipsec/adduser.sh +++ b/ipsec/adduser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $CHAPSECRETS ]] || [[ ! -r $CHAPSECRETS ]] || [[ ! -w $CHAPSECRETS ]]; then diff --git a/ipsec/checkuser.sh b/ipsec/checkuser.sh index 2178ce8..fa24ba5 100755 --- a/ipsec/checkuser.sh +++ b/ipsec/checkuser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $CHAPSECRETS ]] || [[ ! -r $CHAPSECRETS ]]; then diff --git a/ipsec/deluser.sh b/ipsec/deluser.sh index 107851c..c0921a9 100755 --- a/ipsec/deluser.sh +++ b/ipsec/deluser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $CHAPSECRETS ]] || [[ ! -r $CHAPSECRETS ]] || [[ ! -w $CHAPSECRETS ]]; then diff --git a/ipsec/dns.sh b/ipsec/dns.sh index dbc765a..2e16410 100755 --- a/ipsec/dns.sh +++ b/ipsec/dns.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $PPPCONFIG ]] || [[ ! -r $PPPCONFIG ]] || [[ ! -w $PPPCONFIG ]]; then diff --git a/ipsec/install.sh b/ipsec/install.sh index 706454c..fa41ed9 100755 --- a/ipsec/install.sh +++ b/ipsec/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ "$EUID" -ne 0 ]]; then diff --git a/ipsec/iptables-setup.sh b/ipsec/iptables-setup.sh index e4436bd..2b0fc29 100755 --- a/ipsec/iptables-setup.sh +++ b/ipsec/iptables-setup.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $IPTABLES ]]; then diff --git a/ipsec/psk.sh b/ipsec/psk.sh index 9d55d6b..1444e98 100755 --- a/ipsec/psk.sh +++ b/ipsec/psk.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $SECRETSFILE ]] || [[ ! -r $SECRETSFILE ]] || [[ ! -w $SECRETSFILE ]]; then diff --git a/ipsec/sysctl.sh b/ipsec/sysctl.sh index 2c7b237..440118a 100755 --- a/ipsec/sysctl.sh +++ b/ipsec/sysctl.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $SYSCTLCONFIG ]] || [[ ! -r $SYSCTLCONFIG ]] || [[ ! -w $SYSCTLCONFIG ]]; then diff --git a/pptp/adduser.sh b/pptp/adduser.sh index 0f831b7..5eefe55 100755 --- a/pptp/adduser.sh +++ b/pptp/adduser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $CHAPSECRETS ]] || [[ ! -r $CHAPSECRETS ]] || [[ ! -w $CHAPSECRETS ]]; then diff --git a/pptp/checkuser.sh b/pptp/checkuser.sh index 2178ce8..fa24ba5 100755 --- a/pptp/checkuser.sh +++ b/pptp/checkuser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $CHAPSECRETS ]] || [[ ! -r $CHAPSECRETS ]]; then diff --git a/pptp/deluser.sh b/pptp/deluser.sh index 107851c..c0921a9 100755 --- a/pptp/deluser.sh +++ b/pptp/deluser.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $CHAPSECRETS ]] || [[ ! -r $CHAPSECRETS ]] || [[ ! -w $CHAPSECRETS ]]; then diff --git a/pptp/dns.sh b/pptp/dns.sh index 0034687..1882c7d 100755 --- a/pptp/dns.sh +++ b/pptp/dns.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $PPTPOPTIONS ]] || [[ ! -r $PPTPOPTIONS ]] || [[ ! -w $PPTPOPTIONS ]]; then diff --git a/pptp/install.sh b/pptp/install.sh index 76537f3..6a343ba 100755 --- a/pptp/install.sh +++ b/pptp/install.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ "$EUID" -ne 0 ]]; then diff --git a/pptp/iptables-setup.sh b/pptp/iptables-setup.sh index a8d0338..083e0b5 100755 --- a/pptp/iptables-setup.sh +++ b/pptp/iptables-setup.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $IPTABLES ]]; then diff --git a/pptp/sysctl.sh b/pptp/sysctl.sh index 2c7b237..440118a 100755 --- a/pptp/sysctl.sh +++ b/pptp/sysctl.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) source $DIR/env.sh if [[ ! -e $SYSCTLCONFIG ]] || [[ ! -r $SYSCTLCONFIG ]] || [[ ! -w $SYSCTLCONFIG ]]; then