]> git.donarmstrong.com Git - resume.git/commitdiff
use GET instead of links directly for job description master
authorDon Armstrong <don@donarmstrong.com>
Sun, 1 Jun 2025 17:14:52 +0000 (10:14 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 1 Jun 2025 17:14:52 +0000 (10:14 -0700)
new_job

diff --git a/new_job b/new_job
index 60ab4104591b22c86424406feed9b73669ee7957..33b6733d9729ab7d235ac05a7b07c0e031552295 100755 (executable)
--- a/new_job
+++ b/new_job
@@ -10,9 +10,11 @@ git config set branch."$NAME".merge refs/heads/"$NAME"
 git checkout "$NAME"
 
 echo "{\"url\":\"$URL\",\"name\":\"$NAME\"}" > job_details.json
+git add job_details.json
 
-links -dump "$1" > job_description.txt
+GET "$1" > job_description.html
+links -dump job_description.html > job_description.txt
+rm -f job_description.html
 
-git add job_details.json
 git add job_description.txt