Skip to content

Commit

Permalink
Update shflags 1.0.3 to 1.2.3
Browse files Browse the repository at this point in the history
Also update the path from which it's installed, as it has changed
between releases.

Signed-off-by: Daniel Farrell <[email protected]>
  • Loading branch information
dfarrell07 committed Feb 24, 2022
1 parent b87e908 commit 7442862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/shared/lib/shflags
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ensure_shflags() {

if [ ! -f .shflags ]; then
echo "Downloading shflags ${SHFLAGS_VERSION}"
if ! curl -L "https://raw.githubusercontent.com/kward/shflags/${SHFLAGS_VERSION}/src/shflags" > .shflags; then
if ! curl -L "https://raw.githubusercontent.com/kward/shflags/v${SHFLAGS_VERSION}/shflags" > .shflags; then
echo "$0 needs shflags in /usr/share/shflags/shflags or locally as .shflags." 1>&2
echo "It was unable to download it; please install it and try again." 1>&2
exit 1
Expand All @@ -20,5 +20,5 @@ ensure_shflags() {
. ./.shflags
}

SHFLAGS_VERSION=${SHFLAGS_VERSION:=1.0.3}
SHFLAGS_VERSION=${SHFLAGS_VERSION:=1.2.3}
ensure_shflags

0 comments on commit 7442862

Please sign in to comment.