Last change
on this file since 38294 was 38294, checked in by davidb, 8 months ago |
Tighten up full-build script sequence
|
-
Property svn:executable
set to
*
|
File size:
576 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | source ../_local_collect_config.sh
|
---|
4 |
|
---|
5 |
|
---|
6 | iuri_prefix=$gs_library_url/sites/$site/collect/$col/index/assoc/
|
---|
7 |
|
---|
8 | ifilename=$1
|
---|
9 |
|
---|
10 | iuri_tail=${ifilename#archives/}
|
---|
11 |
|
---|
12 | iuri="${iuri_prefix}${iuri_tail}"
|
---|
13 |
|
---|
14 | internal_url_base="http://localhost:$gs_http_port/simpleAnnotationStore/annotation"
|
---|
15 | post_url="${internal_url_base}/populate"
|
---|
16 |
|
---|
17 |
|
---|
18 | #echo curl -X POST -d "uri=${iuri}" "$post_url"
|
---|
19 | #curl -X POST -d "uri=${iuri}" "$post_url"
|
---|
20 |
|
---|
21 | echo " " curl -X POST -H \'Content-Type: text/plain\' -d \"@$ifilename\" $post_url
|
---|
22 | curl -X POST -H 'Content-Type: text/plain' -d "@$ifilename" $post_url
|
---|
23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.