diff options
Diffstat (limited to 'src/abslibre-tools/createworkdir')
-rwxr-xr-x | src/abslibre-tools/createworkdir | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/createworkdir b/src/abslibre-tools/createworkdir index 3c77035..8176cce 100755 --- a/src/abslibre-tools/createworkdir +++ b/src/abslibre-tools/createworkdir @@ -28,7 +28,7 @@ set -euE . libremessages . $(librelib conf.sh) load_files libretools -check_vars libretools WORKDIR ABSLIBRERECV ABSLIBRESEND +check_vars libretools WORKDIR ABSLIBRERECV ABSLIBRESEND # these are asked for by `xbs download` trap 'error "Aborting..."' EXIT @@ -38,7 +38,7 @@ mkdir -p "$WORKDIR" msg "Creating staging directory in WORKDIR..." mkdir -p "$WORKDIR/staging" -cmd=(gitget -f -p "$ABSLIBRESEND" checkout "$ABSLIBRERECV" "$WORKDIR/abslibre") +cmd=(xbs -b abslibre download) if ! "${cmd[@]}"; then error "Could not clone ABSLibre" plain "Try running this command:" @@ -49,6 +49,6 @@ if ! "${cmd[@]}"; then fi msg "Finished, your packaging directory tree looks like this now:" -ls --color=always "${WORKDIR}"/* +ls --color=auto "${WORKDIR}"/* trap -- EXIT |