Skip to content
This repository has been archived by the owner on Jun 1, 2020. It is now read-only.

Commit

Permalink
update var name in config
Browse files Browse the repository at this point in the history
add "force" prefix to updateMeta/updateRepo
  • Loading branch information
PeterDaveHello committed Dec 25, 2015
1 parent ebeb1ce commit 6773a4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ basePath="/home/user/cdnjs"
mainRepo="cdnjsmaster"
webRepo="new-website"
hasLocalRepo=true
updateMeta=false
updateRepo=false
forceUpdateMeta=false
forceUpdateRepo=false

pushMetaOnGitHub=false

Expand Down
3 changes: 3 additions & 0 deletions update-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ pth="$(dirname $(readlink -f $0))"

. "$pth/config.sh"

updateMeta=$forceUpdateMeta
updateRepo=$forceUpdateRepo

eval logPath=$logPath
if [ -z "$logPath" ] || [ ! -d "$logPath" ] || [ ! -w "$logPath" ] ; then
logPath=$pth
Expand Down

0 comments on commit 6773a4b

Please sign in to comment.