Fix tmp folder

master
Icedream 2014-10-20 13:14:14 +02:00
parent 10fe1e17c1
commit b4f17cac01
1 changed files with 4 additions and 2 deletions

View File

@ -46,8 +46,8 @@ copy_flt() {
source="$1"
target="$2"
find "$source" -type "d" | while read i; do mkdir -p "$target/$(reldir $source $i)"; done
find "$source" -name "$filter" -type "f" | while read i; do cp "$i" "$target/$(reldir $source $i)"; done
find "$source" -type "d" -not -path "./tmp/*" | while read i; do mkdir -p "$target/$(reldir $source $i)"; done
find "$source" -name "$filter" -type "f" -not -path "./tmp/*" | while read i; do cp "$i" "$target/$(reldir $source $i)"; done
}
mkdir -p builds
@ -71,6 +71,8 @@ copy_flt "." "tmp" "*.jpg"
copy_flt "." "tmp" "*.png"
copy_flt "." "tmp" "*.txt"
find tmp
# Compile LUA files
pushd lua
mkdir -p ../tmp/lua