From 05c5e73217e8f23a19eccabe54ea6b96c53d7c8a Mon Sep 17 00:00:00 2001 From: sscottgvit Date: Wed, 5 Feb 2020 05:23:56 -0600 Subject: [PATCH] Fix bug in precommit --- app/ApplicationInfo.py | 4 ++-- precommit.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/ApplicationInfo.py b/app/ApplicationInfo.py index 62b2db0..b263b9d 100644 --- a/app/ApplicationInfo.py +++ b/app/ApplicationInfo.py @@ -19,12 +19,12 @@ applicationInfo = { "name": "LEGION", "version": "0.3.6", - "build": '1580900958' + "build": '1580901813', "author": "GoVanguard", "copyright": "2020", "links": ["http://github.com/GoVanguard/legion/issues", "https://GoVanguard.com/legion"], "emails": [], - "update": '02/05/2020' + "update": '02/05/2020', "license": "GPL v3", "desc": "Legion is a fork of SECFORCE's Sparta, Legion is an open source, easy-to-use, \n" + "super-extensible and semi-automated network penetration testing tool that aids in " + diff --git a/precommit.sh b/precommit.sh index 25b3c3c..0b94dbf 100644 --- a/precommit.sh +++ b/precommit.sh @@ -1,8 +1,8 @@ #!/bin/bash # Update last update in controller -sed -i -r "s/update\": .*?/update\": '`date '+%m\/%d\/%Y'`'/g" ./app/ApplicationInfo.py -sed -i -r "s/build\": .*?/build\": '`date '+%s'`'/g" ./app/ApplicationInfo.py +sed -i -r "s/update\": .*?/update\": '`date '+%m\/%d\/%Y'`',/g" ./app/ApplicationInfo.py +sed -i -r "s/build\": .*?/build\": '`date '+%s'`',/g" ./app/ApplicationInfo.py # Clear logs