I'll fix the bad paths somewhen later.

master
Icedream 2014-10-20 13:15:45 +02:00
parent b4f17cac01
commit bf8df06323
1 changed files with 3 additions and 3 deletions

View File

@ -46,8 +46,8 @@ copy_flt() {
source="$1" source="$1"
target="$2" target="$2"
find "$source" -type "d" -not -path "./tmp/*" | while read i; do mkdir -p "$target/$(reldir $source $i)"; done find "$source" -type "d" | 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 find "$source" -name "$filter" -type "f" | while read i; do cp "$i" "$target/$(reldir $source $i)"; done
} }
mkdir -p builds mkdir -p builds
@ -89,7 +89,7 @@ done
popd popd
# Create the GMA file # Create the GMA file
gmad create -folder "tmp" -out "builds/disguiser_swep.gma" gmad create -warninvalid -folder "tmp" -out "builds/disguiser_swep.gma"
# Clean up # Clean up
rm -rf tmp rm -rf tmp