Changeset 1230 for trunk/locker/bin


Ignore:
Timestamp:
Jul 2, 2009, 6:42:26 PM (15 years ago)
Author:
quentin
Message:
Don't create php.ini files inside svn or git directories
File:
1 edited

Legend:

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

    r1083 r1230  
    88if [ -f php.ini ]; then
    99        echo "Creating php.ini symlinks in child directories..."
    10         athrun scripts gfind . -mindepth 1 -type d -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 -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.