• This project
    • Loading...
  • Sign in

tome / Tales of MajEyal · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Merge Requests 54
  • Labels
  • Forks
  • Snippets
  • Network
  • t-engine4
  • utils
  • te4_pack_module.sh
  • plop ...
    69a36459
    
    git-svn-id: http://svn.net-core.org/repos/t-engine4@1477 51575b47-30f0-44d4-a5cc-537603b46e54
    dg authored
    2010-10-08 20:08:20 +0000  
    Browse Files »
te4_pack_module.sh 284 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/bash

if test $# -lt 2 ; then
	echo "Usage: te4_pack_module.sh [tome] [3.9.14]"
	exit
fi

mod="$1"
version="$2"

cp -a "$mod" tmp
find tmp -name .svn -or -name '*~' | xargs rm -rf
cd tmp

mkdir mod
mv * mod
mv mod/data .

zip -r -0 ../"$mod"-"$version".team *

cd -
rm -rf tmp