source: soft/build_system/build_system/upload/robot/trunk/findSerial @ 1

Last change on this file since 1 was 1, checked in by fasma, 13 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 211 bytes
Line 
1#!/bin/sh
2DISTRIB=cooker
3ROOT=/mnt/BIG/distrib/$DISTRIB
4TOP=$ROOT/$DISTRIB/Mandrake
5BASE=$TOP/base/
6RPMS=$TOP/RPMS/
7
8rpm -qp --qf '%{NAME} %{SERIAL}\n' $RPMS/*|grep -v '(none)'|awk '{print $1}' \
9> $BASE/Serial
Note: See TracBrowser for help on using the repository browser.