diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-03-28 13:35:15 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-03-28 13:35:15 +0100 |
commit | 6bd6bdd7a061edd2bca41511fdbf5335fb1fe04a (patch) | |
tree | 93ee9a28bd8928298aab54826e35ec53ec33295c /strip.sh | |
parent | 9bf01f3e93319f77b0496eed8110e5fc61c48c44 (diff) |
php-pear-phing: remove jsmin from task/defaults.properties
Diffstat (limited to 'strip.sh')
-rwxr-xr-x | strip.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -8,7 +8,13 @@ if [ -f $name-$1.tgz ]; then tar tf $name-$1.tgz | sort >$list.old rm -r $name-$1/tasks/ext/jsmin - sed -e '/tasks\/ext\/jsmin/d' -i package.xml + + sed -e '/^jsmin=/d' \ + -i $name-$1/tasks/defaults.properties + + sed -e '/tasks\/ext\/jsmin/d' \ + -e '/defaults.properties/s/md5sum.*name/name/' \ + -i package.xml tar czf $name-$1-strip.tgz package.xml $name-$1 tar tf $name-$1-strip.tgz | grep -v '/$' | sort >$list.new |