~ubuntu-branches/ubuntu/wily/steam/wily

« back to all changes in this revision

Viewing changes to tools/import

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-10-29 19:51:18 UTC
  • mfrom: (1.1.4) (0.1.4 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131029195118-b9bxciz5hwx5z459
Tags: 1:1.0.0.39-2ubuntu1
Add an epoch to the version number as there was an unrelated steam package
in the archive with a higher version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/pike7.6
2
 
 
3
 
int main(int argc, array argv)
4
 
{
5
 
    master()->add_program_path("../server");
6
 
    master()->add_include_path("../server/include");
7
 
    master()->add_module_path(".");
8
 
    master()->add_module_path("../server/libraries");
9
 
 
10
 
    add_constant("find_object", find_object);
11
 
 
12
 
    object e = ((program)"import.pike")();
13
 
    e->main(argc, argv); 
14
 
}
15
 
//pike -P /home/astra/coreserver/server -I ../server/include export.pike $*
16
 
 
17
 
static object oInstall;
18
 
 
19
 
object find_object(int id)
20
 
{
21
 
    if ( objectp(oInstall) )
22
 
        oInstall->find_object(id);
23
 
    return 0;
24
 
}