mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
21 lines
298 B
Bash
21 lines
298 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
tmpdir=`mktemp --tmpdir -d gst.XXXXXXXXXX`
|
||
|
workdir=$PWD
|
||
|
cd $tmpdir
|
||
|
res=0
|
||
|
|
||
|
for file in $TEMPLATE_FILES; do
|
||
|
name=`basename $file element-templates`
|
||
|
$SRC_DIR/gst-element-maker gst$name $name
|
||
|
if test $? -ne 0; then
|
||
|
res=1
|
||
|
break
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
cd $workdir
|
||
|
rm -rf $tmpdir
|
||
|
exit $res;
|
||
|
|