From bec95eeaee02dffb0f1750b9ca2641378bbe9df9 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 20 Jun 2014 22:00:01 -0400 Subject: I think xbs is in a workable stage. --- src/abslibre-tools/librestage | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/abslibre-tools/librestage') 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##*/}" -- cgit v1.2.2