diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-11-02 09:19:00 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-11-02 09:19:00 +0100 |
commit | c5ae622c72219a4c3fad3fffc7651f8e4f2982df (patch) | |
tree | 9263c28c320ee7594110048f395ea4d025230d3a /getautoloader.sh | |
parent | 48fbb495322685a94a34aea08e918512b80277ed (diff) |
php-symfony: upstream patch for twig 1.23
Diffstat (limited to 'getautoloader.sh')
-rw-r--r-- | getautoloader.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/getautoloader.sh b/getautoloader.sh deleted file mode 100644 index 0e9af18..0000000 --- a/getautoloader.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -if [ "$1" = "" ] -then - echo usage $0 version - exit 1 -fi - -tmp=$(mktemp --dir) -pushd $tmp - -echo -e "\n+ channel" -pear channel-discover pear.symfony.com - -echo -e "\n+ packages" -pear list-all -c symfony2 | while read name version descr -do - if [ "$name" = "ALL" -o "$name" = "PACKAGE" -o "$version" = "" ] - then - continue - fi - pear download $name-$1 - tar xf $(basename $name)-$1.tgz --strip-components=1 -done -lst=$(find Symfony -name autoloader.php) - -popd -echo -e "\n+ archive: autoloader-$1.tgz" -tar cvzf autoloader-$1.tgz -C $tmp $lst - -echo -e "\n+ cleanups" -rm -rf $tmp |