Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
removed for files to be imported
Browse files Browse the repository at this point in the history
  • Loading branch information
Al4ise committed Aug 20, 2021
1 parent 5da497e commit 5cb78fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azule
Original file line number Diff line number Diff line change
Expand Up @@ -744,10 +744,11 @@ done < <(find Payload/*.app -name "Info.plist")
# PROCESSING FILES
if [ -n "$files" ]; then

max="${#files[@]}"
for i in "${!files[@]}"; do
x="$i"
unset indexes[@]
while [[ "$x" -lt "${#files[@]}" ]]; do
while [[ "$x" -lt "$max" ]]; do
indexes+=( "$x" )
string+=" ${files[x]}"
if [ -e "$(expand "$string")" ] && [[ -z "${files[x+1]}" || ! -e "$(expand "$string ${files[x+1]}")" ]]; then
Expand Down

0 comments on commit 5cb78fe

Please sign in to comment.