diff options
author | Robert Peichaer <rpe@cvs.openbsd.org> | 2016-01-25 23:46:55 +0000 |
---|---|---|
committer | Robert Peichaer <rpe@cvs.openbsd.org> | 2016-01-25 23:46:55 +0000 |
commit | 2e70e5da45120e7d3a383e990596ab10b6842454 (patch) | |
tree | ea9c481d1ab30775e7b9391dc11fba01536d997a | |
parent | f02e582a205fd6160d900af38ea06133ebd6e886 (diff) |
localize _clist
feedback and OK halex@
OK krw@
-rw-r--r-- | distrib/miniroot/install.sub | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 5523df51021..1fb38183f06 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.874 2016/01/24 09:16:57 rpe Exp $ +# $OpenBSD: install.sub,v 1.875 2016/01/25 23:46:54 rpe Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -167,9 +167,8 @@ quote() ( # Show a list (passed via ordered arguments) in column output using ls. showcols() { - local _l _cdir=/tmp/cdir + local _l _cdir=/tmp/cdir _clist - set -A _clist mkdir -p $_cdir rm -rf -- $_cdir/* while read _l; do |