Don't skip single dot-files in the root directory of binary and chroot local includes
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
36035832fb
commit
ef26b6ea78
|
@ -42,7 +42,7 @@ Check_lockfile .lock
|
|||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if ls config/binary_local-includes/* > /dev/null 2>&1
|
||||
if ls -A config/binary_local-includes/ | grep . > /dev/null 2>&1
|
||||
then
|
||||
# Copying includes
|
||||
cd config/binary_local-includes
|
||||
|
|
|
@ -42,7 +42,7 @@ Check_lockfile .lock
|
|||
# Creating lock file
|
||||
Create_lockfile .lock
|
||||
|
||||
if ls config/chroot_local-includes/* > /dev/null 2>&1
|
||||
if ls -A config/chroot_local-includes/ | grep . > /dev/null 2>&1
|
||||
then
|
||||
# Copying includes
|
||||
cd config/chroot_local-includes
|
||||
|
|
Loading…
Reference in New Issue