Skip to content

Commit

Permalink
simplify packaging cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Apr 26, 2017
1 parent 0420240 commit 0e3655c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions taxonkit/packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ for f in taxonkit_*; do
mkdir -p $dir/$f;
mv $f $dir/$f;
cd $dir/$f;
# https://github.com/shenwei356/brename/
brename -p '_[^\.]+';
mv $f $(echo $f | perl -pe 's/_[^\.]+//g');
tar -zcf $f.tar.gz taxonkit*;
mv *.tar.gz ../;
cd ..;
Expand Down

0 comments on commit 0e3655c

Please sign in to comment.