From ce5dfb1ae62860f7e29bc08f5dfeece5e242d57f Mon Sep 17 00:00:00 2001 From: morrme Date: Sat, 13 May 2017 17:15:57 -0500 Subject: [PATCH] add [Nerd Fonts] prefix to output --- bin/scripts/upload-archives.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/scripts/upload-archives.sh b/bin/scripts/upload-archives.sh index b5e42aabb..e1b00df9e 100755 --- a/bin/scripts/upload-archives.sh +++ b/bin/scripts/upload-archives.sh @@ -4,9 +4,10 @@ # uncomment to debug: #set -x +LINE_PREFIX="# [Nerd Fonts] " cd ../../archives/ || { - echo >&2 "# Could not find archives directory" + echo >&2 "$LINE_PREFIX Could not find archives directory" exit 1 } @@ -17,11 +18,10 @@ if [ -f "$private_config" ] then source "$private_config" else - echo >&2 "# Could not source private config" + echo >&2 "$LINE_PREFIX Could not source private config" exit 1 fi -LINE_PREFIX="# [Nerd Fonts] " TOKEN=$github_access_token OWNER="ryanoasis" REPO="nerd-fonts"