10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-09 07:33:53 +01:00
quantum_package/scripts/create/create_Needed_modules.sh

21 lines
477 B
Bash
Raw Normal View History

2014-04-03 13:59:51 +02:00
#!/bin/bash
#
# Creates the initial NEEDED_MODULES file.
# This script is supposed to run in a module directory.
# Thu Apr 3 13:38:38 CEST 2014
if [[ -z ${QPACKAGE_ROOT} ]]
2014-04-03 13:59:51 +02:00
then
print "The QPACKAGE_ROOT environment variable is not set."
print "Please reload the quantum_package.rc file."
exit -1
2014-04-03 13:59:51 +02:00
fi
source ${QPACKAGE_ROOT}/scripts/qp_include.sh
check_current_dir_is_module
2014-04-03 13:59:51 +02:00
OUTPUT=$(${QPACKAGE_ROOT}/scripts/check_dependencies.sh $@)
echo ${OUTPUT} > NEEDED_MODULES