diff options
author | Guillem Jover <guillem@debian.org> | 2009-11-07 14:04:41 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2009-11-07 18:15:01 +0100 |
commit | 0814d1b1eb42c08809d31980d9a7f2b921c713e5 (patch) | |
tree | e7e4cffd642c9fe323125d1f3954d8ac56924971 /dselect/methods/multicd | |
parent | 03b7c00daf4dbf20898dd6c214a4a399d4e2e002 (diff) | |
download | dpkg-0814d1b1eb42c08809d31980d9a7f2b921c713e5.tar.gz |
Use find with -L instead of deprecated -follow
Diffstat (limited to 'dselect/methods/multicd')
-rwxr-xr-x | dselect/methods/multicd/install | 4 | ||||
-rwxr-xr-x | dselect/methods/multicd/setup | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dselect/methods/multicd/install b/dselect/methods/multicd/install index 50fb07fab..cd8c5cab1 100755 --- a/dselect/methods/multicd/install +++ b/dselect/methods/multicd/install @@ -151,8 +151,8 @@ Please change the discs and press <RETURN>. defined($c= open(X,"-|")) || die "failed to fork for find: $!\n"; if (!$c) { - exec("find", length($binaryprefix) - ? $binaryprefix : ".","-follow", + exec("find", "-L", + length($binaryprefix) ? $binaryprefix : ".", "-name",$base,"-o","-name",$msdosbase); die "failed to exec find: $!\n"; } diff --git a/dselect/methods/multicd/setup b/dselect/methods/multicd/setup index 7bcfbe096..49ae83ac1 100755 --- a/dselect/methods/multicd/setup +++ b/dselect/methods/multicd/setup @@ -508,7 +508,7 @@ check_binary () { # .deb files. Each CD should contain all Packages.cd files but doesn't # need to contain the .deb files. # -# if ! { find "$mountpoint$2" -follow -name '*.deb' -print \ +# if ! { find -L "$mountpoint$2" -name '*.deb' -print \ # | head -1 | grep . ; } >/dev/null 2>&1 && [ -z "$multi" ]; # then # echo "\`$2' does not contain any *.deb packages." |