#!/bin/sh ECLIPSE=/opt/logicmoo_workspace/packs_xtra/logicmoo_pldata/eclipse/eclipse inject_update_site(){ if [ ! -e "$1" ] ; then echo "W: Cannot find $1" 2>&1 return 1 fi cat - >>"$1" <&1 else ( inject_update_site "$artifact" && \ inject_update_site "$metadata" && \ echo "I: Injected update sites" ) || echo "W: Could not inject update sites." 2>&1 fi fi exec $ECLIPSE "$@"