Lines 86-97
ELT_walk_patches() {
Link Here
|
86 |
|
86 |
|
87 |
if [[ -n ${patch_set} ]] ; then |
87 |
if [[ -n ${patch_set} ]] ; then |
88 |
if [[ -d ${ELT_PATCH_DIR}/${patch_set} ]] ; then |
88 |
if [[ -d ${ELT_PATCH_DIR}/${patch_set} ]] ; then |
89 |
patch_dir="${ELT_PATCH_DIR}/${patch_set}" |
89 |
patch_dir="${patch_set}" |
90 |
else |
90 |
else |
91 |
return "${ret}" |
91 |
return "${ret}" |
92 |
fi |
92 |
fi |
93 |
|
93 |
|
94 |
# Go through the patches in reverse order (large to small) |
94 |
# Go through the patches in reverse order (large to small) |
|
|
95 |
cd "${ELT_PATCH_DIR}" |
95 |
for x in $(ls -d "${patch_dir}"/* 2> /dev/null | grep -v 'CVS' | sort -r) ; do |
96 |
for x in $(ls -d "${patch_dir}"/* 2> /dev/null | grep -v 'CVS' | sort -r) ; do |
96 |
if [[ -n ${x} && -f ${x} ]] ; then |
97 |
if [[ -n ${x} && -f ${x} ]] ; then |
97 |
# For --remove-internal-dep ... |
98 |
# For --remove-internal-dep ... |