Package: udev
Severity: minor
Hello,
I was backporting udev from unstable to sarge. I'm maintaining my
packages in a subversion repository. In each directory in your working
directory, there's a sub-directory named .svn. The build system of udev
is confused with files inside these hidden directories. Attached patch
fixes the problems I had by adding "-maxdepth 1" switch to the find
commands that locate available tarballs and patches during the build.
Index: debian/scripts/source.unpack
===================================================================
--- debian/scripts/source.unpack (revision 257)
+++ debian/scripts/source.unpack (working copy)
@@ -5,7 +5,7 @@
mkdir -p $STAMP_DIR/upstream/tarballs/ $SOURCE_DIR
if [ ! -z "$SRC_TAR_DIR" -a -d "$SRC_TAR_DIR" ];then
- files=$(find $SRC_TAR_DIR -type f|sort)
+ files=$(find $SRC_TAR_DIR -type f -maxdepth 1|sort)
else
VER=$(dpkg-parsechangelog 2>&1|egrep ^Version|cut -d " " -f 2|cut -d
"-" -f 1)
SRC=$(dpkg-parsechangelog 2>&1|egrep ^Source|cut -d " " -f 2-)
Index: debian/scripts/lib
===================================================================
--- debian/scripts/lib (revision 257)
+++ debian/scripts/lib (working copy)
@@ -148,7 +148,7 @@
continue
fi
eval mkdir -p $dirprep
- for f in `(cd $d >/dev/null;find -type f ! -name 'chk-*'
2>/dev/null )|sort $reversesort`;do
+ for f in `(cd $d >/dev/null;find -type f ! -name 'chk-*'
-maxdepth 1 2>/dev/null )|sort $reversesort`;do
eval stampfile=$stampfiletmpl
eval log=$logtmpl
eval file=$filetmpl