Skip to content

Commit c964ef7

Browse files
author
michael-n-cooper
committed
some corrections
1 parent 66a3340 commit c964ef7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

create-techniques.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ do
1010
git rm -rf .
1111
mkdir techniques/$1
1212
cp ../technique-template.html techniques/$1/$2.html
13-
sed -i "s/<p id=\"technology\"></p>/<p id=\"technology\">$1</p>/" techniques/$1/$2.html
14-
sed -i "s/<p id=\"type\"></p>/<p id=\"type\">$3</p>/" techniques/$1/$2.html
13+
sed -i "s/<p id=\"technology\"></p>/<p id=\"technology\">$1<\/p>/" techniques/$1/$2.html
14+
sed -i "s/<p id=\"type\"></p>/<p id=\"type\">$3<\/p>/" techniques/$1/$2.html
1515
sed -i "s/Technique Title/$4/g" techniques/$1/$2.html
1616
git add techniques/$1/$2.html
1717
git commit -m "Set up $2 technique"
18-
git push --set-upstream origin tech-$2
18+
# git push --set-upstream origin tech-$2
1919
shift
2020
shift
2121
shift

0 commit comments

Comments
 (0)