Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-10-24 15:24:51 +0400
committermboelen <michael@cisofy.com>2014-10-24 15:24:51 +0400
commit7bb93936e388798992563f6ea443035b0d3b6246 (patch)
treed0cb83c4f2014f3b61bc4c300090d9c453a2ef4e /extras
parentacdd86bcdbb5e801658351b8a902b1e24cbe2f2b (diff)
Adjustments for building process
Diffstat (limited to 'extras')
-rwxr-xr-xextras/build-lynis.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/extras/build-lynis.sh b/extras/build-lynis.sh
index a40418e8..6b5beac6 100755
--- a/extras/build-lynis.sh
+++ b/extras/build-lynis.sh
@@ -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 ..