Skip to content

Commit

Permalink
Fix some "naughty" typos/bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Feb 17, 2023
1 parent 6905355 commit a9d10c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion naughty-commits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi

imgs="$(bashbrew list --repos "$@" | sort -u)"
for img in $imgs; do
bashbrew fetch --all "$img" # force `git fetch`
bashbrew fetch "$img" # force `git fetch`
commits="$(
bashbrew cat --format '
{{- range $e := .Entries -}}
Expand Down
8 changes: 1 addition & 7 deletions naughty-from.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
#!/usr/bin/env bash
set -Eeuo pipefail

: "${BASHBREW_CACHE:=$HOME/.cache/bashbrew}"
export BASHBREW_CACHE BASHBREW_ARCH=

if [ ! -d "$BASHBREW_CACHE/git" ]; then
# initialize the "bashbrew cache"
bashbrew --arch amd64 from --uniq --apply-constraints hello-world:linux > /dev/null
fi
export BASHBREW_ARCH=

if [ "$#" -eq 0 ]; then
set -- '--all'
Expand Down

0 comments on commit a9d10c1

Please sign in to comment.