You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/05/16 21:03:39 UTC

[2/3] incubator-trafficcontrol git commit: remove Snapshots from tar backup when upgrading

remove Snapshots from tar backup when upgrading


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/50d2c3fe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/50d2c3fe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/50d2c3fe

Branch: refs/heads/master
Commit: 50d2c3fe5f29bb7aa2ba1235ab24fa64e3539bd0
Parents: 4a11b31
Author: Dan Kirkwood <da...@gmail.com>
Authored: Tue May 16 12:08:26 2017 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Tue May 16 15:02:55 2017 -0600

----------------------------------------------------------------------
 traffic_ops/build/traffic_ops.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/50d2c3fe/traffic_ops/build/traffic_ops.spec
----------------------------------------------------------------------
diff --git a/traffic_ops/build/traffic_ops.spec b/traffic_ops/build/traffic_ops.spec
index 7d359a1..d71a47b 100644
--- a/traffic_ops/build/traffic_ops.spec
+++ b/traffic_ops/build/traffic_ops.spec
@@ -80,7 +80,7 @@ Built: %(date) by %{getenv: USER}
 	  if [ -f /var/tmp/traffic_ops-backup.tar ]; then
 		  %__rm /var/tmp/traffic_ops-backup.tar
 	  fi
-	  cd %{PACKAGEDIR} && tar cf /var/tmp/traffic_ops-backup.tar app/public/*Snapshots app/public/routing  app/conf app/db/dbconf.yml app/local app/cpanfile.snapshot
+	  cd %{PACKAGEDIR} && tar cf /var/tmp/traffic_ops-backup.tar app/public/routing  app/conf app/db/dbconf.yml app/local app/cpanfile.snapshot
     fi
 
     # upgrade