Mailinglist Archive: opensuse-buildservice (256 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] [PATCH 3/3] [obs-service-tar_scm] Grab (possibly) existing tar from .old subdir
- From: Adrian Schröter <adrian@xxxxxxx>
- Date: Fri, 26 Aug 2011 08:50:27 +0200
- Message-id: <2316395.h1fkP21pO8@scherben>
A version which should work also with OBS < 2.3 is submitted
thanks a lot for all your work on this! :)
adrian
Am Freitag, 26. August 2011, 08:43:07 schrieb Markus Lehtonen:
-----
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
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |