projects
/
sdk
/
tools
/
sdk-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0344730
)
[Title] package server loation change when create server
author
hataejun
<taejun.ha@samsung.com>
Thu, 23 Aug 2012 06:43:58 +0000
(15:43 +0900)
committer
hataejun
<taejun.ha@samsung.com>
Thu, 23 Aug 2012 06:43:58 +0000
(15:43 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]
src/pkg_server/packageServer.rb
patch
|
blob
|
history
diff --git
a/src/pkg_server/packageServer.rb
b/src/pkg_server/packageServer.rb
index cc7813c15965f93d930c996427e4bec80a3abf4d..a82abdb2a67b3548e3ff8bf75d2d4c03ecca0614 100644
(file)
--- a/
src/pkg_server/packageServer.rb
+++ b/
src/pkg_server/packageServer.rb
@@
-84,7
+84,11
@@
class PackageServer
if loc.nil? or loc.empty? then
@location = Dir.pwd + "/" + @id
else
- @location = File.join(loc, @id)
+ if Utils.is_absolute_path(loc) then
+ @location = File.join(loc, @id)
+ else
+ @location = File.expand_path(File.join(Dir.pwd, loc, @id))
+ end
end
# error check : check for already exist in server @id