]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- little fix for globbing
authorMichal Moskal <michal@moskal.me>
Mon, 20 May 2002 09:32:28 +0000 (09:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-compress-doc -> 1.2

rpm-compress-doc

index 0f75bb4054dbbd07b08bb3239ba8a1c6c419fb27..0d2a7c63bce4d60030ec55c3a21022c2e95f7525 100644 (file)
@@ -34,10 +34,10 @@ fi
 
 FIND_CMD="find . -type f "
 for SUF in $EXCLUDE_SUFFIXES ; do
-       FIND_CMD="$FIND_CMD -a -not -name *.$SUF"
+       FIND_CMD="$FIND_CMD -a -not -name '*.$SUF'"
 done
 
-$FIND_CMD | while read FILENAME ; do
+eval $FIND_CMD | while read FILENAME ; do
        if test -n "$EXCLUDE_MASKS" ; then
                if eval "case \$(basename \"$FILENAME\") in
                         $EXCLUDE_MASKS ) true ;;
This page took 0.097851 seconds and 4 git commands to generate.