Mailinglist Archive: opensuse-buildservice (256 mails)

< Previous Next >
[opensuse-buildservice] [PATCH 3/3] [obs-service-tar_scm] Grab (possibly) existing tar from .old subdir
---
tar_scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tar_scm b/tar_scm
index 9278569..f35310d 100644
--- a/tar_scm
+++ b/tar_scm
@@ -115,7 +115,7 @@ if [ -z "$FILE" -a "$MYSCM" == "hg" ]; then
FILE="${FILE##*/}"
fi

-existing_tar=$(echo $SRCDIR/_service:*tar_scm:${FILE}-*.tar*)
+existing_tar=$(echo $SRCDIR/.old/_service:*tar_scm:${FILE}-*.tar*)
if [ -e "$existing_tar" ]; then
UNCOMPRESS="cat"
if [ "${existing_tar%.tar.gz}" != "$existing_tar" ]; then
--
1.7.3.4

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References