source: valtobtest/subversion-1.6.2/tools/dist/extract-for-examination.sh @ 3

Last change on this file since 3 was 3, checked in by valtob, 15 years ago

subversion source 1.6.2 as test

  • Property svn:executable set to *
File size: 212 bytes
Line 
1#!/bin/sh
2
3for i in *.tar.bz2; do
4  base=${i%.tar.bz2}-tar-bz2
5  mkdir $base
6  cd $base
7  tar -jxvf ../$i
8  cd ..
9done
10
11for i in *.zip; do
12  base=${i%.zip}-zip
13  mkdir $base
14  cd $base
15  unzip ../$i
16  cd ..
17done
Note: See TracBrowser for help on using the repository browser.