]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- use grep instead of head
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 15 Jan 2002 17:03:14 +0000 (17:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.90

builder.sh

index 5fd2a083571938317d18efbaed275b87bea61f12..b6fefd34b253516f8ce3067996844c8d5e86f55d 100644 (file)
@@ -219,7 +219,7 @@ get_spec()
         chmod $CHMOD_MODE $SPECFILE
     fi
     unset OPTIONS
-    head -n 1 $SPECFILE
+    grep -E -m 1 "^#.*Revision:.*Date" $SPECFILE
 }
 
 get_files()
@@ -526,6 +526,9 @@ esac
 cd $__PWD
 
 # $Log$
+# Revision 1.89  2002/01/15 13:20:08  misiek
+# - display spec revision and date
+#
 # Revision 1.88  2001/11/23 15:07:05  zagrodzki
 # - fixed shifting arguments at --define
 # - use eval when starting rpm
This page took 0.279746 seconds and 4 git commands to generate.