[Debian Wiki] Update of "BOINC/ServerGuide/WrapperApp" by SteffenMoeller
Debian Wiki
debian-www at lists.debian.org
Fri Jul 22 17:02:54 UTC 2011
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The "BOINC/ServerGuide/WrapperApp" page has been changed by SteffenMoeller:
http://wiki.debian.org/BOINC/ServerGuide/WrapperApp?action=diff&rev1=2&rev2=3
Comment:
the many $ are too confusing, also, this way the reader can copy and paste
The example script used in this section counts from 0 to a number specified as command line argument, and outputs as ''out''.
{{{
- user at host $ cat count
+ $ cat count
#!/bin/bash
seq $1
}}}
@@ -95, +95 @@
As mentioned the payload binary/script has to be copied to the subdirectory for each platform. Since the script doesnt have any platform dependencies, we do
{{{
- user at host $cd $projectroot
+ cd $projectroot
- user at host $for p in apps/wrapper/*/
+ for p in apps/wrapper/*
do
- cp path/to/count path/to/count.sig path/to/job.xml path/to/job.xml.sig $p
+ cp path/to/count path/to/count.sig path/to/job.xml path/to/job.xml.sig $p
done
}}}
More information about the pkg-boinc-commits
mailing list