Changeset 1231


Ignore:
Timestamp:
Jul 2, 2009, 6:50:15 PM (15 years ago)
Author:
quentin
Message:
Also don't create php.ini symlinks inside subdirectories of .git or .svn
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/bin/fix-php-ini

    r1230 r1231  
    88if [ -f php.ini ]; then
    99        echo "Creating php.ini symlinks in child directories..."
    10         athrun scripts gfind . -mindepth 1 -type d -not -name .svn -not -name .git -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \;
     10        athrun scripts gfind . -mindepth 1 -type d \( -not -name .svn -not -name .git -or -not -prune \) -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \;
    1111        echo "Done!"
    1212else
Note: See TracChangeset for help on using the changeset viewer.