close Warning: Can't use blame annotator:
svn blame failed on trunk/locker/sbin/rpmlist.sh: 28 - Can't close file '/tmp/svn-JLILXq': No space left on device

source: trunk/locker/sbin/rpmlist.sh @ 2759

Last change on this file since 2759 was 2274, checked in by achernya, 13 years ago
Set locale to C so sort produces consistent results for rpm-sync
  • Property svn:executable set to *
File size: 271 bytes
RevLine 
1#!/bin/sh
2
3export LC_ALL=C
4
5copyTo='/mit/scripts/cron_scripts/rpm-sync/'
6packages=`mktemp --tmpdir rpmlist.XXXXXX`
7rpm -qa --queryformat '%{NAME}.%{ARCH}\n' | sort | uniq > $packages
8
9host=`hostname`
10extension='.rpmlist'
11file="$copyTo/$host$extension"
12mv $packages $file
Note: See TracBrowser for help on using the repository browser.