Summary Files Commits Branches @commit @diff @stats
path: root / generate-hooks / make-flags.sh
diff options
context:
space:
mode:
Commitdaab5443e76fe16642dde1fb2ef32b723fd4037b (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-09-28 22:11:47 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-09-29 17:40:10 +0300
Filesa952b79a3d8ed6e3d01cc33a432248eb41e4fdfd /generate-hooks/make-flags.sh
syndamia.com-daab5443e76fe16642dde1fb2ef32b723fd4037b.tar
syndamia.com-daab5443e76fe16642dde1fb2ef32b723fd4037b.tar.gz
syndamia.com-daab5443e76fe16642dde1fb2ef32b723fd4037b.zip
Parent15094c5da196d0b23f41c6882a397284b2741ab0 (diff)
[hooks] Removed bash hook scripts and made awk scripts the way to generate the website
1 files changed, 0 insertions, 18 deletions
-rwxr-xr-xgenerate-hooks/make-flags.sh18
diff --git a/generate-hooks/make-flags.sh b/generate-hooks/make-flags.sh
deleted file mode 100755
index 84adfaf..0000000
--- a/generate-hooks/make-flags.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# Adds a way to more simply insert flags into text
-# Each flag is represented with an ftag (text that is preceded by &&)
-
-# Available flags:
-# Great Britain - &&gb
-
-if [ -z "$1" ]; then
- echo First parameter must be string with file paths
- exit
-fi
-
-awkloc="$(dirname "$0")/create-flags.awk"
-
-for file in $1; do
- awk -f "$awkloc" $file > tmp && mv -f tmp $file
-done