Skip to content

Commit

Permalink
rebuild.sh: improve fatal message meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
lacombar committed Feb 27, 2012
1 parent c6aec72 commit b8d3962
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rebuild.sh
Expand Up @@ -39,7 +39,7 @@ _list_runs()

_ppwd=${_cwd%/*}
_ppwd=${_ppwd%/*}
[ "${_ppwd##*/}" = "arch" ] || die
[ "${_ppwd##*/}" = "arch" ] || die "_list_runs"

find "." -mindepth 1 -maxdepth 1 -type d | \
sort | \
Expand Down Expand Up @@ -83,7 +83,7 @@ _list_platforms()
local _platform

_pwd=${_cwd%/*}
[ "${_pwd##*/}" = "arch" ] || die
[ "${_pwd##*/}" = "arch" ] || die "_list_platforms"

find "." -maxdepth 1 -mindepth 1 -type d | \
sort | \
Expand Down Expand Up @@ -129,7 +129,7 @@ _list_arch()
local _cwd=$(pwd)
local _arch

[ "${_cwd##*/}" = "arch" ] || die
[ "${_cwd##*/}" = "arch" ] || die "_list_arch"

find "." -maxdepth 1 -mindepth 1 -type d | \
sort | \
Expand Down

0 comments on commit b8d3962

Please sign in to comment.