~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty

« back to all changes in this revision

Viewing changes to lab/estndgather

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# Register documents into a node
6
6
#================================================================
7
7
 
 
8
 
8
9
# set variables
9
10
LANG=C ; export LANG
10
11
LC_ALL=C ; export LC_ALL
11
 
PATH="$PATH:." ; export PATH
 
12
PATH="$PATH:/usr/local/lib:.:.." ; export PATH
 
13
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib:.:..:../.." ; export LD_LIBRARY_PATH
12
14
progname="estndgather"
13
15
user="admin"
14
16
pass="admin"
15
17
 
 
18
 
16
19
# check arguments
17
20
if [ $# != 2 ]
18
21
then
22
25
node="$1"
23
26
dir="$2"
24
27
 
 
28
 
25
29
# register documents
26
30
find "$dir" -type f -name '*.html' -print |
27
31
while read file