Fix tmp folder
parent
10fe1e17c1
commit
b4f17cac01
6
build.sh
6
build.sh
|
@ -46,8 +46,8 @@ copy_flt() {
|
||||||
source="$1"
|
source="$1"
|
||||||
target="$2"
|
target="$2"
|
||||||
|
|
||||||
find "$source" -type "d" | while read i; do mkdir -p "$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" | while read i; do cp "$i" "$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
|
mkdir -p builds
|
||||||
|
@ -71,6 +71,8 @@ copy_flt "." "tmp" "*.jpg"
|
||||||
copy_flt "." "tmp" "*.png"
|
copy_flt "." "tmp" "*.png"
|
||||||
copy_flt "." "tmp" "*.txt"
|
copy_flt "." "tmp" "*.txt"
|
||||||
|
|
||||||
|
find tmp
|
||||||
|
|
||||||
# Compile LUA files
|
# Compile LUA files
|
||||||
pushd lua
|
pushd lua
|
||||||
mkdir -p ../tmp/lua
|
mkdir -p ../tmp/lua
|
||||||
|
|
Loading…
Reference in New Issue