1,15 → 1,13 |
#!/bin/sh |
|
T="$1" |
D="$(dirname $0)/.." |
project_dir=$(dirname $0)"/.." |
project_dir=$(cd "$project_dir"; pwd) |
common_dir="$project_dir/../../common/deploy" |
|
if [ -z "$T" ] ; then |
echo "Need one parameter - the target dir" >> /dev/stderr |
return 1 |
if [ ! -d "$common_dir" ] ; then |
echo "Common dir '$common_dir' not found" >> /dev/stderr |
exit 1 |
fi |
|
rm -f "$T/selsearch.xpi" |
(cd "$D/src"; find . -not -path '*/.svn*' | zip -@ "$T/selsearch.xpi") |
. "$common_dir/deploy_subr" |
|
cp "$D/update.rdf" "$T" |
|