package dbs
tags 315374 patch
thanks

Hi,

I'm including a patch for this, yo can find it attached.

regards,
guillem
diff -Naur dbs-0.35/dbs-edit-patch dbs-0.35.new/dbs-edit-patch
--- dbs-0.35/dbs-edit-patch     2004-05-14 01:14:23.000000000 +0300
+++ dbs-0.35.new/dbs-edit-patch 2005-07-30 18:24:14.000000000 +0300
@@ -129,7 +129,7 @@
 fi
   
 # EXTRACT SOURCE FILES
-for f in `find $SRC_TAR_DIR -type f -maxdepth 1 -name \*.tgz -o -name 
\*.tar.gz -o -name \*.tar.bz -o -name \*.tar.bz2 | LC_COLLATE=C sort`; do 
+for f in `find $SRC_TAR_DIR -maxdepth 1 -type f -name \*.tgz -o -name 
\*.tar.gz -o -name \*.tar.bz -o -name \*.tar.bz2 | LC_COLLATE=C sort`; do 
     file=`basename $f`
     echo -n "Extracting source $file ... "; 
     if "$FILE2CAT" "$f" | tar -C $OUT_DIR -xvf - > /dev/null; then 
@@ -143,7 +143,7 @@
 case "$STRIP" in
   1)
     # DETERMINE DIRECTORY NAME (assume only one exists)
-    for f in `find $OUT_DIR -type d -maxdepth 1`; do 
+    for f in `find $OUT_DIR -maxdepth 1 -type d`; do 
       DEST_DIR="$f"
     done
     ;;
@@ -211,7 +211,7 @@
 : > new_patch
 EOF
 
-for f in `find "$OUT_DIR" -type d -mindepth 1 -maxdepth 1`; do 
+for f in `find "$OUT_DIR" -mindepth 1 -maxdepth 1 -type d`; do 
   file=`basename "$f"`
   echo -n "Copying $file to $file-old ... "; 
   cp -a "$f" "$f-old"

Reply via email to