summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-01-05 21:23:22 +0100
committertv <tv@krebsco.de>2016-01-05 21:23:22 +0100
commit08757d47c480c130d69270855c6c0371f6b7d385 (patch)
tree97c4ab1005ec818dbe17f3239a717b5cfa799625
parent64c97edd3f9952cd5e703208c46748a035a515bf (diff)
allow " in attribute path
-rwxr-xr-xget2
1 files changed, 1 insertions, 1 deletions
diff --git a/get b/get
index e35fc47..2ed2fe6 100755
--- a/get
+++ b/get
@@ -92,7 +92,7 @@ result=$(nix-instantiate \
for i; do
echo "$i"
done | sed -n '
- s/^[A-Za-z_][0-9A-Za-z_./-]*$/--attr &/p
+ s/^[A-Za-z_][0-9A-Za-z_"./-]*$/--attr &/p
s/^\([0-9A-Za-z-]\+\)=\([.0-9A-Za-z-]*\)$/--argstr \1 \2/p
'
) \