• 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_engine.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_engine.sh 353 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 23 24
#!/bin/bash

if test $# -lt 2 ; then
	echo "Usage: te4_pack_engine.sh [default/] [te4-5_0.9.14]"
	exit
fi

version="$2"
dir="$1"

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

cd tmp

cd modules
te4_pack_module.sh boot "$version"
mv boot-"$version".team ../../
cd ..
rm -rf modules

zip -r -0 ../"$version".teae *
cd ..
rm -rf tmp