Browse Source

fix find/xargs usage

Ralf S. Engelschall 22 years ago
parent
commit
10721e84f6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apt/apt.spec

+ 2 - 2
apt/apt.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Bootstrapping
 License:      GPL
 Version:      0.5.5cnc6
-Release:      20030913
+Release:      20030915
 
 #   list of sources
 Source0:      http://moin.conectiva.com.br/files/AptRpm/attachments/apt-%{version}.tar.bz2
@@ -71,7 +71,7 @@ AutoReqProv:  no
     esac
 
     #   replace hard-coded paths with OpenPKG ones
-    find . ! -type d | \
+    find . -type f ! -name "*.orig" -print | \
     xargs %{l_shtool} subst \
         %{l_value -s l_prefix} \
         -e 's;@l_bindir@;%{l_prefix}/bin;g' \