summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-03-27 17:22:39 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-03-27 17:22:39 +0200
commit7baf52dfc5e0e70cc8566d693d010465535b1886 (patch)
tree4a5993ae732c78a3938b0629916c38ea440a24e9 /src
parent2a7aa9d913dfa2591592bf1b1e0e6a7cf8e63808 (diff)
downloadnetctl-7baf52dfc5e0e70cc8566d693d010465535b1886.tar.gz
netctl-7baf52dfc5e0e70cc8566d693d010465535b1886.tar.xz
Uniformize SUBR_DIR quoting
It needs to be quoted when used as an argument. Putting the name in curly braces is unnecessary.
Diffstat (limited to 'src')
-rw-r--r--src/connections/wireless4
-rw-r--r--src/globals4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index 2e371c9..7abb180 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -1,7 +1,7 @@
#! /bin/bash
. /usr/lib/network/network
-. $SUBR_DIR/8021x
-. $SUBR_DIR/rfkill
+. "$SUBR_DIR/8021x"
+. "$SUBR_DIR/rfkill"
wireless_up() {
diff --git a/src/globals b/src/globals
index cb5b50a..082e782 100644
--- a/src/globals
+++ b/src/globals
@@ -12,8 +12,8 @@
PROFILE_DIR="/etc/network.d"
IFACE_DIR="$PROFILE_DIR/interfaces"
SUBR_DIR="/usr/lib/network"
-HOOKS_DIR="${SUBR_DIR}/hooks"
-CONN_DIR="${SUBR_DIR}/connections"
+HOOKS_DIR="$SUBR_DIR/hooks"
+CONN_DIR="$SUBR_DIR/connections"
STATE_DIR="/run/network"