source: main/trunk/package-kits/linux/deb/demo/build.sh@ 29474

Last change on this file since 29474 was 29474, checked in by Jeremy Symon, 9 years ago

Got deb packages working

  • Property svn:executable set to *
File size: 406 bytes
Line 
1#!/bin/bash
2
3GSDL3HOME=$(pwd)
4export GSDL3HOME
5. greenstone --no-interactive
6mv -T src sites/localsite/collect
7find sites/localsite/collect/ -mindepth 1 -maxdepth 1 -not -name ".*" -execdir bash -c 'col="$(basename $1)"; import.pl -removeold -site localsite "$col"; buildcol.pl -removeold -site localsite "$col"; mv "${col}/building" "${col}/index"' -- {} \;
8mv -T sites/localsite/collect src
9rm -rf sites
Note: See TracBrowser for help on using the repository browser.