source: soft/build_system/build_system/upload/robot/trunk/recompil @ 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: 255 bytes
Line 
1#!/bin/sh
2
3CUR=/RPMS
4OLD=/mnt/BIG/distrib/old
5#NEW=/mnt/BIG/distrib/recompil
6NEW=$HOME/tmp/recompil
7
8cd $NEW
9for f in *.rpm; do
10    if [ -f $CUR/$f ]; then
11        cmp -s $CUR/$f $f || mv -v $CUR/$f $OLD && mv -v $f $CUR
12    else
13        echo "$f is older"
14    fi
15done
Note: See TracBrowser for help on using the repository browser.