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 13:19:35 +0400
committermboelen <michael@cisofy.com>2014-10-24 13:19:35 +0400
commit64b5d9b9c3a5722843a8cea07912b2c7db0e0f37 (patch)
tree77d72b526cce4870b19356bf610f923ff884c48d /extras
parentf465da535112159c6529b4181e4a817a2573793d (diff)
Minor changes to build script for DEB
Diffstat (limited to 'extras')
-rwxr-xr-xextras/build-lynis.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/extras/build-lynis.sh b/extras/build-lynis.sh
index 7d2dd826..437a530a 100755
--- a/extras/build-lynis.sh
+++ b/extras/build-lynis.sh
@@ -232,7 +232,7 @@
else
echo "[X] Could not find source file (${SOURCEFILE_RPM})"
echo " Hint: cp <lynis.tar.gz> ${SOURCEFILE_RPM}"
- ExitFatal
+ #ExitFatal
fi
echo "[*] Starting with DEB building process"
@@ -271,6 +271,14 @@
# echo "Output: ${BZRSTATUS}"
# fi
+ if [ -d ${MYBUILDDIR}/git/Lynis ]; then
+ echo "git clone already exists"
+ rm -rf ${MYBUILDDIR}/git/Lynis
+ #git checkout tags/${LYNIS_VERSION}
+ fi
+ git clone https://github.com/CISOfy/Lynis.git ${MYBUILDDIR}/git/Lynis
+ #git tag -l ${MYBUILDDIR}/git/Lynis
+
cd ..
${GITBUILDPACKAGEBINARY} --git-tarball-dir=${MYBUILDDIR} --git-export-dir=${DEBWORKDIR}
cd ${MYWORKDIR}