lintian doesn't like orphan packages with uploaders...
[debian/amanda] / autogen
diff --git a/autogen b/autogen
index c1204ee97198bfb4763553254f8b85a573cb1f11..1d593d8217edb89d081ad7a9848dd63f218e21fb 100755 (executable)
--- a/autogen
+++ b/autogen
@@ -12,7 +12,7 @@ rm -rf autom4te*.cache
 rm -f configure
 
 die() {
-    echo x"${@}" | sed s/^x//
+    echo x"${@}" | sed 's/^x//'
     exit 1
 }
 
@@ -32,6 +32,9 @@ echo "..creating file lists"
     for f in automake/*.am; do echo "EXTRA_DIST += $f" >> "automake/file-list"; done
 )
 
+#set the FULL_VERSION file
+config/set_full_version
+
 echo "..aclocal"
 aclocal $includes || die "aclocal failed"
 
@@ -42,9 +45,9 @@ echo "...aclocal patches"
 # an unnecessarily high verison of pkg-config at configure time, when they really
 # only need it at autogen time.  This patch resets the version number in the file
 # just generated by aclocal to the version we've been requiring all along.
-sed --in-place -e  \
+sed -e  \
      's/PKG_PROG_PKG_CONFIG(\[0\.16\])/PKG_PROG_PKG_CONFIG([0.7])/g' \
-     aclocal.m4
+     aclocal.m4 > aclocal.m4~ && mv aclocal.m4~ aclocal.m4
 
 echo "..autoconf"
 autoconf || die "autoconf failed"