specs/stx-jv.rbspec
changeset 237 69ab924b97bf
parent 236 5a4e789cdd40
child 260 7aef1f1a5071
--- a/specs/stx-jv.rbspec	Tue Jun 12 21:27:24 2018 +0000
+++ b/specs/stx-jv.rbspec	Fri Jun 15 23:59:15 2018 +0200
@@ -75,7 +75,7 @@
     :update => (Proc.new do | pkg |
       if (File.exists? BUILD_DIR / 'stx' / 'stc' / '.hg' / 'hgrc') then
         update pkg.repository, 'stx/stc', :branch => pkg.branch, :revision => pkg.revision
-      else
+      elsif not jenkins?
         download_binary_component('stc', BUILD_DIR / 'stx')
     end
   end)
@@ -84,7 +84,7 @@
     :checkout => (Proc.new do | pkg |
       # Download pre-compiled binary if user has no access to source code
       if Rake::Stx::Configuration::Repository::find(pkg.repository) then
-          checkout pkg.repository, 'stx/librun', :branch => pkg.branch, :revision => pkg.revision
+        checkout pkg.repository, 'stx/librun', :branch => pkg.branch, :revision => pkg.revision
       else
         download_binary_component('librun', BUILD_DIR / 'stx')
       end
@@ -92,7 +92,7 @@
     :update => (Proc.new do | pkg |
       if (File.exists? BUILD_DIR / 'stx' / 'librun' / '.hg' / 'hgrc') then
         update pkg.repository, 'stx/stc', :branch => pkg.branch, :revision => pkg.revision
-      else
+      elsif not jenkins?
         download_binary_component('librun', BUILD_DIR / 'stx')
     end
   end)