2015-03-26 01:33:32 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Thu Mar 26 01:27:14 CET 2015
|
|
|
|
|
2015-06-08 14:49:10 +02:00
|
|
|
if [[ -z ${QP_ROOT} ]]
|
2015-03-26 01:33:32 +01:00
|
|
|
then
|
2015-06-08 14:49:10 +02:00
|
|
|
print "The QP_ROOT environment variable is not set."
|
2015-03-26 01:33:32 +01:00
|
|
|
print "Please reload the quantum_package.rc file."
|
|
|
|
exit -1
|
|
|
|
fi
|
|
|
|
|
2015-06-08 14:49:10 +02:00
|
|
|
cd ${QP_ROOT}/data
|
2015-03-26 01:33:32 +01:00
|
|
|
rm -f executables
|
2015-06-08 14:49:10 +02:00
|
|
|
EXES=$(find ${QP_ROOT}/src -perm /u+x -type f | grep -e "${QP_ROOT}/src/[^/]*/[^/]*$" |sort )
|
2015-03-26 01:33:32 +01:00
|
|
|
|
|
|
|
for EXE in $EXES
|
|
|
|
do
|
2015-06-08 14:49:10 +02:00
|
|
|
printf "%-30s %s\n" $(basename $EXE) $EXE | sed "s|${QP_ROOT}|\$QP_ROOT|g" >> executables
|
2015-03-26 01:33:32 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|