Skip to content

Commit

Permalink
Fix bug in precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
sscottgvit committed Feb 5, 2020
1 parent 5aa24be commit 05c5e73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/ApplicationInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 " +
Expand Down
4 changes: 2 additions & 2 deletions precommit.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 05c5e73

Please sign in to comment.