correct sorting via -V

This commit is contained in:
Mario Fetka 2013-03-04 17:52:36 +01:00
parent 1fae471784
commit eb681b96c4

View File

@ -75,7 +75,7 @@ go_show()
echo ${pkg_version}-$REV_CREATOR_TAG$REV_RELEASE >> ${file_list_release} echo ${pkg_version}-$REV_CREATOR_TAG$REV_RELEASE >> ${file_list_release}
done done
done done
sort -n ${file_list_release} | uniq > ${file_list_final} sort -V ${file_list_release} | uniq > ${file_list_final}
for release_file_list in `cat ${file_list_final}` ; do for release_file_list in `cat ${file_list_final}` ; do
. ${show_dir}/${show_name}-${release_file_list}.cfg . ${show_dir}/${show_name}-${release_file_list}.cfg
echo $REV_PN-$REV_VERSION-$REV_CREATOR_TAG$REV_RELEASE >> $show_list echo $REV_PN-$REV_VERSION-$REV_CREATOR_TAG$REV_RELEASE >> $show_list