Silence a warning about empty directories in all the places it might
occur. Reminded by: yar
This commit is contained in:
parent
019cd8e648
commit
0868a57db0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153297
@ -1380,7 +1380,7 @@ find_local_scripts_new () {
|
|||||||
local_rc=''
|
local_rc=''
|
||||||
for dir in ${local_startup}; do
|
for dir in ${local_startup}; do
|
||||||
if [ -d "${dir}" ]; then
|
if [ -d "${dir}" ]; then
|
||||||
for file in `grep -l '^# PROVIDE:' ${dir}/*`; do
|
for file in `grep -l '^# PROVIDE:' ${dir}/* 2>/dev/null`; do
|
||||||
case "$file" in
|
case "$file" in
|
||||||
*.sample) ;;
|
*.sample) ;;
|
||||||
*) if [ -x "$file" ]; then
|
*) if [ -x "$file" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user