You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"Unable to find libraries in ${GIT_ROOT}/build and json config files in ${GIT_ROOT}, cannot proceed..."
265
+
if [ "${additional_libs}"!="" ];then
266
+
echo"Additional libs adding for ${plugin_name}..."
267
+
cd -
268
+
foriin$(echo ${additional_libs}| sed "s/,/ /g")
269
+
do
270
+
if [[ "${i}"==*":"* ]];then
271
+
libs=`echo ${i}| sed "s/:/ /g"`
272
+
ITER=0
273
+
forjin$(echo ${libs}| sed "s/ / /g")
274
+
do
275
+
if [[ ${ITER}="0" ]];then
276
+
echo"Directory is :"${j}
277
+
dir=${j}
278
+
echo"DIR is :"${dir}
279
+
mkdir -p ${dir}
280
+
else
281
+
echo"File is :"${j}
282
+
cp -R --preserve=links ${j}${dir}
283
+
fi
284
+
ITER=$(expr $ITER + 1)
285
+
done
286
+
else
287
+
echo"Either directory or filename argument is missing for ${i} input. Also use syntax <dirname:libfullpath> and a comma separated list if multiple entries"
288
+
exit 1
289
+
fi
290
+
done
291
+
cd -
292
+
fi
266
293
fi
267
294
echo"Done."
268
295
269
-
cd ..
270
-
find -L . -type f -exec echo'%{install_path}/'{} \;>>../../../../SPECS/plugin.spec
296
+
cd ../../../
297
+
find -L . -type f -exec echo'/'{} \;>>${BUILD_ROOT}/${package_name}/SPECS/plugin.spec
0 commit comments