2019-01-25 11:39:31 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Thu Mar 26 01:27:14 CET 2015
|
|
|
|
|
|
|
|
if [[ -z ${QP_ROOT} ]]
|
|
|
|
then
|
|
|
|
print "The QP_ROOT environment variable is not set."
|
|
|
|
print "Please reload the quantum_package.rc file."
|
|
|
|
exit -1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd ${QP_ROOT}/data
|
|
|
|
rm -f executables
|
2023-04-18 11:37:26 +02:00
|
|
|
EXES=$(find -L ${QP_ROOT}/src -maxdepth 2 -depth -perm +111 -type f | grep -e "${QP_ROOT}/src/[^/]*/[^/]*$" |sort )
|
2019-01-25 11:39:31 +01:00
|
|
|
|
|
|
|
for EXE in $EXES
|
|
|
|
do
|
2019-05-15 16:37:43 +02:00
|
|
|
case "$(basename $EXE)" in
|
|
|
|
install) continue;;
|
|
|
|
uninstall) continue;;
|
|
|
|
*)
|
|
|
|
printf "%-30s %s\n" $(basename $EXE) $EXE | sed "s|${QP_ROOT}|\$QP_ROOT|g" >> executables ;;
|
|
|
|
esac
|
2019-01-25 11:39:31 +01:00
|
|
|
done
|