Skip to content
This repository was archived by the owner on May 23, 2026. It is now read-only.

Commit 8a1a4d0

Browse files
authored
fixed.. the rest
1 parent 2ff8435 commit 8a1a4d0

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

azule

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ Verbose () {
135135
expand () {
136136
origin_dir="$PWD"
137137
cd "$empty_dir" || exit
138-
process_var="${1//\\ / }"
139-
138+
process_var="$(echo ${1//\\ / } | xargs)"
139+
140140
if [[ "$process_var" == .* ]]; then
141141
process_var="$(echo "$process_var" | sed "s|\.|$rootdir|")"
142142
fi
@@ -287,7 +287,7 @@ while getopts :n:i:o:c:a:b:x:f:d:p:huSewmzglv args; do
287287
;;
288288

289289
h)
290-
echo "Azule 0.1.7"
290+
echo "Azule 0.1.7-1"
291291
echo "Mandatory Arguements:"
292292
echo " -i [Path/BundleID] Specify the path to the IPA to patch"
293293
echo " -o [Path] Specify an output directory"
@@ -733,9 +733,9 @@ for i in "${!temp_files[@]}"; do
733733
unset indexes[@]
734734
while [[ "$x" -lt "${#temp_files[@]}" ]]; do
735735
indexes+=( "$x" )
736-
string+=${temp_files[x]}
737-
if [ -e "$string" ]; then
738-
files+=( "$string" )
736+
string+=" ${temp_files[x]}"
737+
if [ -e "$(expand "$string")" ] && ! [ -e "$(expand "$string ${temp_files[x+1]}")" ]; then
738+
files+=( "$(expand "$string")" )
739739
for g in ${indexes[@]}; do
740740
unset temp_files[g]
741741
done

0 commit comments

Comments
 (0)