summaryrefslogtreecommitdiffstats
path: root/src/net-rename
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-09-14 05:43:45 +0200
committerJames Rayner <james@archlinux.org>2009-09-14 08:26:34 +0200
commit2c5d0f94f08527151267482f67f1c4964f0a75e1 (patch)
tree39fb7c983e6b6ae3bac13e661edd821061ebbd84 /src/net-rename
parentb6c8f97e5e6fd2b5f331e37d891b22ef8598cc09 (diff)
downloadnetctl-2c5d0f94f08527151267482f67f1c4964f0a75e1.tar.gz
netctl-2c5d0f94f08527151267482f67f1c4964f0a75e1.tar.xz
More localized sourcing
When we're sourcing a profile just to obtain a single variable, use the form: INTERFACE=$(. "$DIR/$profile"; echo "$INTERFACE") This makes it clearer in the source what we're expecting to obtain from the profile, and what we're ignoring. Also allows us to eliminate some more inclusive subshells. Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src/net-rename')
0 files changed, 0 insertions, 0 deletions