summaryrefslogtreecommitdiff
path: root/src/abslibre-tools
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-20 22:00:01 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-20 22:00:01 -0400
commitbec95eeaee02dffb0f1750b9ca2641378bbe9df9 (patch)
tree394fe1663327f85451bfbd290df844717de5db7c /src/abslibre-tools
parent58247a8f992a7c5957292d95fe6919b3fcacbf87 (diff)
I think xbs is in a workable stage.
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-xsrc/abslibre-tools/librestage6
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##*/}"