Hello,

Thank you for your feedback. Your advice to pass arguments to the script is a good idea.
So, i will trim this script to be a little more convenient ;-)
I just created an account on Github, a PR will be done when the script is ready.

Best regards

Reiner

Read More...

Hello,

The included script seems to be from versions where 3rdparty was
included within indi-library (before 1.8.2). This script is broken
under debian testing. (Here modified for indi-asi)


IMHO only 2 lines needs to be adjusted:

change
SRC_DIR=`pwd`"/.."
to
SRC_DIR=`pwd`""

and change
cp -r ${SRC_DIR}/3rdparty/$drv .
to
cp -r ${SRC_DIR}/$drv .


Best regards
Reiner


See both scripts below:


not working
#!/bin/bash

DRV_LIST="indi-asi"
SRC_DIR=`pwd`"/.."

for drv in $DRV_LIST ; do
(
mkdir deb_${drv}
cd deb_${drv}
cp -r ${SRC_DIR}/3rdparty/$drv .
cp -r ${SRC_DIR}/debian/$drv debian
cp -r ${SRC_DIR}/cmake_modules $drv/
fakeroot debian/rules binary
)
done

ls -l



changing the script for indi-asi like below will work:

working
#!/bin/bash

DRV_LIST="indi-asi"
SRC_DIR=`pwd`""

for drv in $DRV_LIST ; do
(
mkdir deb_${drv}
cd deb_${drv}
cp -r ${SRC_DIR}/$drv .
cp -r ${SRC_DIR}/debian/$drv debian
cp -r ${SRC_DIR}/cmake_modules $drv/
fakeroot debian/rules binary
)
done

ls -l


Read More...