From 0dfbb27af5033dce31ba0d922d6964ec7781638e Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 12 Oct 2017 20:36:24 -0400 Subject: [PATCH] Administrivia - generalize shell code --- admin-tools/make-dist-newer.sh | 2 +- admin-tools/make-dist-older.sh | 4 ++-- test/bytecode_2.7/05_abc_class.pyc | Bin 502 -> 568 bytes test/bytecode_2.7/06_setif_comprehension.pyc | Bin 393 -> 439 bytes 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin-tools/make-dist-newer.sh b/admin-tools/make-dist-newer.sh index 273d1dd1..ca403b88 100755 --- a/admin-tools/make-dist-newer.sh +++ b/admin-tools/make-dist-newer.sh @@ -32,7 +32,7 @@ for pyversion in $PYVERSIONS; do first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//') rm -fr build python setup.py bdist_egg bdist_wheel - mv -v dist/uncompyle6-$VERSION-{py2.py3,py$first_two}-none-any.whl + mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl done python ./setup.py sdist diff --git a/admin-tools/make-dist-older.sh b/admin-tools/make-dist-older.sh index 83e72ac7..aee0ce92 100755 --- a/admin-tools/make-dist-older.sh +++ b/admin-tools/make-dist-older.sh @@ -33,7 +33,7 @@ done # Tarballs can get created from the above setup, so make sure to remove them since we want # the tarball from master. -tarball=dist/uncompyle6-$VERSION-tar.gz +tarball=dist/${PACKAGE}-$VERSION-tar.gz if [[ -f $tarball ]]; then - rm -v dist/uncompyle6-$VERSION-tar.gz + rm -v dist/${PACKAGE}-$VERSION-tar.gz fi diff --git a/test/bytecode_2.7/05_abc_class.pyc b/test/bytecode_2.7/05_abc_class.pyc index b102a340d9d2d8ae25b273ea9e55bb6b927fd049..936ba1b0baa15a71efc8e19d8aa798078b6c5f88 100644 GIT binary patch delta 77 zcmeyyyn{uI`7oYIcofz%#WCkc;2GJA6d>EM~ChIaXPn;;tev+A?hLPda#LWeaC6oU$ os!sM~3}g*r2dbNVfYC-8%qrmka&2<+Q%ZAE?Kpw#VjyM!0Ek}|*#H0l diff --git a/test/bytecode_2.7/06_setif_comprehension.pyc b/test/bytecode_2.7/06_setif_comprehension.pyc index a5d2ff1a912424040f662239fd413f7ec494f7af..22e70f45091560722105097eeb692bc7211ec7ab 100644 GIT binary patch delta 76 zcmeBV-p;Je{F#@l&Mhk(knkdeZ`(89ow%D`}vk>S)tZ7)WxiDkKrC6jX* TjVFsUhO!2+0ToT2&nN)^6crAn