Package: vflib3 / 3.6.14.dfsg-3+nmu4

04_not_ln_parent_dir.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh /usr/share/dpatch/dpatch-run
## 04_not_ln_parent_dir.dpatch by OHURA Makoto <ohura@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Don't make a symlink at parent directory.
## DP: See Bug#381624

@DPATCH@
diff -urNad vflib3-3.6.14.dfsg~/aclocal.m4 vflib3-3.6.14.dfsg/aclocal.m4
--- vflib3-3.6.14.dfsg~/aclocal.m4	2008-02-05 20:38:37.000000000 +0900
+++ vflib3-3.6.14.dfsg/aclocal.m4	2008-02-12 23:48:44.000000000 +0900
@@ -13,6 +13,9 @@
 changequote(<, >)dnl
 working_dir=`pwd`
 for curr_dir in `find $working_dir -type d -print`; do
+  if test $curr_dir = $working_dir; then
+    continue
+  fi
   new_dir=`echo $curr_dir | sed -e 's|^\(.*\)-[0-9.][0-9.]*$|\1|'`
   if test $curr_dir != $new_dir; then
     r_curr_dir=`echo $curr_dir | sed -e "s|$working_dir/||"`