Ubuntu Pastebin

Paste from nacc at Wed, 30 Nov 2016 18:07:39 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
diff --git a/usd/build.py b/usd/build.py
index 8b480ab..8c17223 100644
--- a/usd/build.py
+++ b/usd/build.py
@@ -96,6 +96,13 @@ class USDBuild:
 
         srcpkg_name = changelog.get_package()
 
+        if '-' not in changelog.full_version:
+            logging.info('%s appears to be a native package, '
+                         'not caching.'
+                        )
+            run(['dpkg-buildpackage'] + rem_args)
+            sys.exit(0)
+
         last_upstream_version = changelog.upstream_version
 
         srcpkg_cache_dir = os.path.join(dl_cache,
Download as text