summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Fetka <[email protected]>2013-03-03 20:59:32 (GMT)
committer Mario Fetka <[email protected]>2013-03-03 20:59:32 (GMT)
commita0e29cb0ac6fece5484e20f5621b1c8e90446398 (patch)
treee58e87ec68108b0c93126894187cbd8f58f705cc
parent09ee54f497f2d2cfaa85b76c06054bded8b6f3ca (diff)
Back to old sorting of versions
-rw-r--r--lib/builder-targets.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/builder-targets.sh b/lib/builder-targets.sh
index 2ff1360..140cb5b 100644
--- a/lib/builder-targets.sh
+++ b/lib/builder-targets.sh
@@ -338,11 +338,11 @@ EOF
local file_list=${OUTPUT_DIR}/product-file-list.txt
local file_sort_list=${OUTPUT_DIR}/product-file-sort-list.txt
rm -f ${file_list}
- for cfg_file in `find ${OPSI_REPOS_BASE_DIR} -name "${PN}-*.cfg" -print ` ; do
+ for cfg_file in `find ${OPSI_REPOS_BASE_DIR} -name "{PN}-${VERSION}-${CREATOR_TAG}*.cfg" -print ` ; do
. ${cfg_file}
printf "%08d;$cfg_file\n" $REV_RELEASE >> ${file_list}
done
- sort -V ${file_list} > ${file_sort_list}
+ sort -n ${file_list} > ${file_sort_list}
# Delete the oldest files
log_debug "base list for calculate purge:"

Powered by Domaintechnik.at | Hosting - Domain - Webspace