fix for EXTRAVERSION
authorDavid Schleef <ds@schleef.org>
Sun, 27 May 2001 20:23:00 +0000 (20:23 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 27 May 2001 20:23:00 +0000 (20:23 +0000)
patches/rel_comedi

index eb176eb44d7148aa429b40aac4b38387f40f3052..9601876c9b84f8b9d08f8ca2fb49b8d9fa209870 100755 (executable)
@@ -46,7 +46,8 @@ mkdir comedi-$version/include/comedi
 mkdir comedi-$version/include/modbuild
 rm -rf comedi-$version/patches
 
-sed "s/^SUBLEVEL.*/SUBLEVEL = $minor/" comedi-$version/Makefile >Makefile.tmp
+sed "s/^SUBLEVEL.*/SUBLEVEL = $minor/" -e "s/^EXTRAVERSION.*/EXTRAVERSION = /" \
+  comedi-$version/Makefile >Makefile.tmp
 mv Makefile.tmp comedi-$version/Makefile
 
 tar -czvf ../comedi-$version.tgz comedi-$version