diff g23m/copyblobs.sh @ 151:2951617c17d2

g23m/copyblobs.sh: should work before or after winebuild.sh now
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 16 May 2016 05:13:05 +0000
parents cfa5b37d720b
children edd53ceb2069
line wrap: on
line diff
--- a/g23m/copyblobs.sh	Mon May 16 04:24:49 2016 +0000
+++ b/g23m/copyblobs.sh	Mon May 16 05:13:05 2016 +0000
@@ -2,14 +2,20 @@
 
 set -e
 
+gsmlong=gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0
+
 # l1_ext
-cp blobs/l1_ext/l1_trace.obj	__out__/gsm*/obj/l1_ext
-cp blobs/l1_ext/l1audio_*.obj	__out__/gsm*/obj/l1_ext
-cp blobs/l1_ext/l1p_*.obj	__out__/gsm*/obj/l1_ext
-cp blobs/l1_ext/l1tm_*.obj	__out__/gsm*/obj/l1_ext
+dest=__out__/$gsmlong/obj/l1_ext
+mkdir -p $dest
+cp blobs/l1_ext/l1_trace.obj	$dest
+cp blobs/l1_ext/l1audio_*.obj	$dest
+cp blobs/l1_ext/l1p_*.obj	$dest
+cp blobs/l1_ext/l1tm_*.obj	$dest
 
 # l1_int
-cp blobs/l1_int/dl1_com.obj	__out__/gsm*/obj/l1_int
-cp blobs/l1_int/l1audio_*.obj	__out__/gsm*/obj/l1_int
-cp blobs/l1_int/l1p_*.obj	__out__/gsm*/obj/l1_int
-cp blobs/l1_int/macs.obj	__out__/gsm*/obj/l1_int
+dest=__out__/$gsmlong/obj/l1_int
+mkdir -p $dest
+cp blobs/l1_int/dl1_com.obj	$dest
+cp blobs/l1_int/l1audio_*.obj	$dest
+cp blobs/l1_int/l1p_*.obj	$dest
+cp blobs/l1_int/macs.obj	$dest