Adjustments for building process

This commit is contained in:
mboelen 2014-10-24 13:24:51 +02:00
parent acdd86bcdb
commit 7bb93936e3
2 changed files with 10 additions and 0 deletions

0
debian/patches/.dpkg-source-applied vendored Normal file
View File

View File

@ -281,6 +281,16 @@
#git checkout tags/${LYNIS_VERSION}
fi
git clone https://github.com/CISOfy/Lynis.git ${MYBUILDDIR}/git/Lynis
if [ -d ${MYBUILDDIR}/git/Lynis/debian/ ]; then
echo "Copying build files into new tree"
cp -R ../debian/* ${MYBUILDDIR}/git/Lynis/debian/
cd ${MYBUILDDIR}/git/Lynis/debian/
git add .
git commit -m "Building process for Lynis release version ${LYNIS_VERSION}"
else
echo "[X] Could not copy debian directory and commit changes"
fi
#git tag -l ${MYBUILDDIR}/git/Lynis
cd ..