Cast ls in to list
This commit is contained in:
parent
4017d097e1
commit
4f152857b5
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -387,7 +387,7 @@ deploy () {
|
||||||
# Add overlay if enabled
|
# Add overlay if enabled
|
||||||
if [[ $enable_overlay -eq 1 ]]; then
|
if [[ $enable_overlay -eq 1 ]]; then
|
||||||
printf "\e[1;34m-->\e[0m\e[1m Copying overlay to deployment\e[0m\n"
|
printf "\e[1;34m-->\e[0m\e[1m Copying overlay to deployment\e[0m\n"
|
||||||
declare -r overlay_files=$(ls $arkdep_dir/overlay/)
|
declare -r overlay_files=($(ls $arkdep_dir/overlay/))
|
||||||
|
|
||||||
# Check if only /etc is present, if it is we do not have to unlock the root volume
|
# Check if only /etc is present, if it is we do not have to unlock the root volume
|
||||||
for file in ${overlay_files[*]}; do
|
for file in ${overlay_files[*]}; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue