summaryrefslogblamecommitdiffstats
blob: 2e5b77ffff3807dc77e51bc564fb6c8e42d0d712 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                               
#!/bin/bash

# Args
# $1 - Base path
# $2 - base directory of the untarred component
# $3 - name of the component archive


if [ -d $1/$2 ]; then
  echo "Removing $1/$2"
  rm -rf $1/$2
fi

tar -C $1 -zxf $3