Mailinglist Archive: opensuse-buildservice (120 mails)

< Previous Next >
[opensuse-buildservice] [PATCH] [obs-service-tar_scm]
  • From: Troy Telford <ttelford.groups@xxxxxxxxx>
  • Date: Thu, 14 Jul 2011 17:50:35 -0600
  • Message-id: <ivnvcb$m4l$1@dough.gmane.org>
In my own testing of the '--exclude' option for the tar_scm source service, I found that nothing was being excluded.

Running the tar_scm script manually produced the same result(s) - the exclusion had no effect.

After some head scratching, we found that the single quotes in the command-line parser appear to be the culprit; removing the single quotes results in correct operation of the exclude option.

--- tar_scm 2011-07-14 17:42:08.000000000 -0600
+++ tar_scm 2011-07-14 17:42:26.000000000 -0600
@@ -45,7 +45,7 @@
shift
;;
*-exclude)
- EXCLUDES="$EXCLUDES --exclude='${2#/}'"
+ EXCLUDES="$EXCLUDES --exclude=${2#/}"
shift
;;
*-filename)

--
Troy Telford


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

< Previous Next >
This Thread
  • No further messages