diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-20 22:00:01 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-20 22:00:01 -0400 |
commit | bec95eeaee02dffb0f1750b9ca2641378bbe9df9 (patch) | |
tree | 394fe1663327f85451bfbd290df844717de5db7c /src/abslibre-tools | |
parent | 58247a8f992a7c5957292d95fe6919b3fcacbf87 (diff) |
I think xbs is in a workable stage.
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-x | src/abslibre-tools/librestage | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage index 63561f7..1bfb200 100755 --- a/src/abslibre-tools/librestage +++ b/src/abslibre-tools/librestage @@ -59,6 +59,11 @@ main() { return 1 fi + if ! xbs status; then + error "There are uncommitted changes in the current directory" + return 1 + fi + # Load configuration load_files libretools check_vars libretools WORKDIR ARCHES || return 1 @@ -82,6 +87,7 @@ main() { canonical="" # is empty for the first iteration, set after that for repo in "${repos[@]}"; do + xbs release "$repo" "$CARCH" mkdir -p "${WORKDIR}/staging/${repo}" if [[ -z $canonical ]]; then canonical="${WORKDIR}/staging/${repo}/${pkgfile##*/}" |