freshen.sh: detect when all packages are up to date (Ian Macdonald).
authorjbj <devnull@localhost>
Mon, 1 Nov 1999 19:02:46 +0000 (19:02 +0000)
committerjbj <devnull@localhost>
Mon, 1 Nov 1999 19:02:46 +0000 (19:02 +0000)
CVS patchset: 3411
CVS date: 1999/11/01 19:02:46

CHANGES
scripts/freshen.sh

diff --git a/CHANGES b/CHANGES
index d2491aa..87ec9d1 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,7 @@
        - start unifying FD types, CFD_t now gone.
        - check for memory leaks (almost all leaks are plugged).
        - fix: resurrect multiple target platform builds.
+       - freshen.sh: detect when all packages are up to date (Ian Macdonald).
 
 3.0.2 -> 3.0.3
        - add --eval to find result of macro expansion.
index 6b6cdf5..2cb7d63 100755 (executable)
@@ -27,6 +27,7 @@ if [ $# = 0 ]; then
     exec $RPM $args
 fi
 
+origargs=$args
 args="$args -- "
 shift
 
@@ -43,4 +44,8 @@ for n in $*; do
     fi
 done
 
-exec $RPM $args
+if [ "$args" = "$origargs -- " ]; then
+    echo no packages require freshening
+else
+    exec $RPM $args
+fi