Changeset 685


Ignore:
Timestamp:
02/22/06 01:31:48 (7 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2005-05-24 18:34:08 by anarcat]
don't try to protect wildcards

Original author: anarcat
Date: 2005-05-24 18:34:08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/basedir_prot.sh

    r672 r685  
    8181# ligne de commande 
    8282if [ $# -gt 0 ]; then 
    83         for i in $* 
    84         do 
     83        for i in "$*" 
     84        do 
     85                if echo "$i" | grep -q '^\*\.' 
     86                then 
     87                    echo skipping wildcard "$i" >&2 
     88                    continue 
     89                fi 
    8590                if echo "$i" | grep -q /var/alternc/dns > /dev/null; then 
    8691                        dom="$i" 
Note: See TracChangeset for help on using the changeset viewer.