local is only allowed in functions

This commit is contained in:
Christian Ruppert 2012-05-17 00:00:22 +02:00
parent 82d3918d7a
commit 6cecc7b4a6

View File

@ -17,7 +17,6 @@ if [ ! -d "@PREFIX@/run" ]; then
fi
if ! mountinfo -q -f tmpfs "@PREFIX@/run"; then
local x
for x in "@PREFIX@/run/."* "@PREFIX@/run/"*; do
case "$x" in
"@PREFIX@/run/."|"@PREFIX@/run/..")