2 # Script to build archives with
14 # Get the left part of the dash (-)
15 new=`echo $orig | cut -d- -f1`
17 # Build new directory name
20 # Tell the world what we're doing
21 echo "creates $n.tar.gz";
24 echo "Directory already exists!"
31 # Copy all relevant files, with path and permissions!
32 tar -cf - `cat FILES` | (cd $n; tar -xBpf -) || exit 1
34 (cd $n && sh autogen.sh) || exit 1
36 # Make a tar archive of it all
42 # Make it world readable