You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
378 B
21 lines
378 B
#! /bin/bash
|
|
|
|
version=1.9.14
|
|
prerel=
|
|
|
|
src=waf-${version}${prerel}.tar.bz2
|
|
dst=${src%.tar.bz2}.stripped.tar.bz2
|
|
|
|
rm -f ${dst} ${dst%.bz2}
|
|
cp -av ${src} ${dst}
|
|
|
|
bzip2 -d ${dst}
|
|
|
|
tar --delete --file=${dst%.bz2} \
|
|
waf-${version}/docs/sphinx/_images/waf-64x64.png \
|
|
waf-${version}/docs/slides/presentation/gfx/waflogo.svg
|
|
|
|
touch -m -r ${src} ${dst%.bz2}
|
|
|
|
bzip2 ${dst%.bz2}
|