mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Add the .config file to the export package
This commit is contained in:
parent
ae4cb48a06
commit
bb180cbb2e
1 changed files with 10 additions and 0 deletions
|
|
@ -165,6 +165,16 @@ fi
|
|||
mv ${SALLDIRS} ${IMPORTDIR}/. || \
|
||||
{ echo "ERROR: Failed to move ${SALLDIRS} to ${IMPORTDIR}"; exit 1; }
|
||||
|
||||
# Move the .config file in place in the import directory
|
||||
|
||||
SFILES=".config"
|
||||
for file in ${SFILES}; do
|
||||
if [ -f "${EXPORTDIR}/${file}" ]; then
|
||||
cp -a ${EXPORTDIR}/${file} ${IMPORTDIR}/${file} || \
|
||||
{ echo "ERROR: Failed to copy ${EXPORTDIR}/${file} to ${IMPORTDIR}/${file}"; exit 1; }
|
||||
fi
|
||||
done
|
||||
|
||||
# Finally, remove the temporary directory
|
||||
|
||||
cd ${WD} || { echo "ERROR: Failed to cd to ${WD}"; exit 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue