summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2017-01-22 22:47:12 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2017-01-22 22:47:12 +0000
commit88341f1496ec9b8b644413916d2ff597892ce3b7 (patch)
treea34d6e427725c1082bfee97a3526c2875a877570
parent91c653c0ba12b1cb86645fdd223576f51b0759f6 (diff)
Prefix local variables with '_'.
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index e8b936119c9..ce3e9a677cb 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.950 2017/01/22 03:30:23 rpe Exp $
+# $OpenBSD: install.sub,v 1.951 2017/01/22 22:47:11 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -159,8 +159,8 @@ http_time() {
# Quotes are added if needed, so you should not do that yourself.
quote() (
# Since this is a subshell we won't pollute the calling namespace.
- for a; do
- alias Q=$a; a=$(alias Q); print -rn -- " ${a#Q=}"
+ for _a; do
+ alias Q=$_a; _a=$(alias Q); print -rn -- " ${_a#Q=}"
done | sed '1s/ //'
echo
)