1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-02 09:47:00 +03:00

scons helper now uses fileutils instead of ftools

This commit is contained in:
Ruben S. Montero 2010-07-17 01:58:24 +02:00
parent 9f5a24e951
commit 54e8dfd1af

View File

@ -1,7 +1,8 @@
#!/usr/bin/env ruby
# -------------------------------------------------------------------------- #
# Copyright 2002-2010, OpenNebula Project Leads (OpenNebula.org) #
# Copyright 2002-2009, Distributed Systems Architecture Group, Universidad #
# Complutense de Madrid (dsa-research.org) #
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
@ -18,8 +19,7 @@
require 'pp'
require 'digest/md5'
require 'ftools'
require 'fileutils'
###########################################
# Code to test compilation/linkning flags #
@ -207,7 +207,7 @@ def gen_test_file(kind)
#fname="xmlrpc_test.cc"
full_path=dir+"/"+fname
File.makedirs(dir)
FileUtils::mkdir_p(dir)
f=open(full_path, "w")
f.write(TestCode[kind])
f.close