|
|
@@ -20,6 +20,8 @@
|
|
|
|
|
|
echo "# Popufare DIU package installer script"
|
|
|
|
|
|
+COMPILELOCAL=0
|
|
|
+
|
|
|
tarball="package.tgz"
|
|
|
|
|
|
BINDIR="/home/bus/bin"
|
|
|
@@ -48,7 +50,9 @@ pushd $tmpdir > /dev/null
|
|
|
exit 1
|
|
|
fi
|
|
|
|
|
|
- ./build_all.sh native
|
|
|
+ if [[ "$COMPILELOCAL" == 1 ]] ; then
|
|
|
+ ./build_all.sh native
|
|
|
+ fi
|
|
|
|
|
|
# These represent the most common files that are going to need to be
|
|
|
# updated.
|
|
|
@@ -83,10 +87,12 @@ pushd $tmpdir > /dev/null
|
|
|
|
|
|
# install site specific files
|
|
|
#
|
|
|
- for fn in `find site -type f` ; do
|
|
|
- dstfn=`echo $fn | sed 's;^site;;'`
|
|
|
- cp -L $fn $dstfn
|
|
|
- done
|
|
|
+ if [[ -e site ]] ; then
|
|
|
+ for fn in `find site -type f` ; do
|
|
|
+ dstfn=`echo $fn | sed 's;^site;;'`
|
|
|
+ cp -L $fn $dstfn
|
|
|
+ done
|
|
|
+ fi
|
|
|
|
|
|
popd > /dev/null
|
|
|
|