diff options
| author | typebrook <typebrook@gmail.com> | 2019-12-30 14:09:49 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-12-30 14:09:49 +0800 |
| commit | b05efca2fb2e87f3cbf993a1c07d23ac27cdba0e (patch) | |
| tree | a3e55e87c9dac6ce5d46b5d38c998498c3574e24 | |
| parent | d8f364ab2380aa080f26ea9bdea6e4dcab243e45 (diff) | |
update
| -rwxr-xr-x | gist | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -49,6 +49,9 @@ auth_header="Authorization: token $github_api_token" | |||
| 49 | mkdir -p $folder | 49 | mkdir -p $folder |
| 50 | index=$folder/index | 50 | index=$folder/index |
| 51 | 51 | ||
| 52 | # Validate settings. | ||
| 53 | [ "$TRACE" ] && set -x && echo foo | ||
| 54 | |||
| 52 | # get the list of gists | 55 | # get the list of gists |
| 53 | _update() { | 56 | _update() { |
| 54 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ | 57 | curl -s -H "$auth_header" $github_api/users/$user/gists |\ |