Updated build script

This commit is contained in:
Kenneth Skovhede
2014-03-28 12:28:39 +01:00
parent 219ff190cd
commit 6a78d8a317
@@ -23,11 +23,13 @@ git clone ${REF:+--reference $REF} \
https://code.google.com/p/duplicati/ $DIRNAME
if [ -e "./oem.js" ]; then
cp ./oem.js $DIRNAME/Server/webroot/scripts/
echo "Installing OEM script"
cp ./oem.js $DIRNAME/Duplicati/Server/webroot/scripts/
fi
if [ -e "./oem.css" ]; then
cp ./oem.css $DIRNAME/Server/webroot/stylesheets/
echo "Installing OEM stylesheet"
cp ./oem.css $DIRNAME/Duplicati/Server/webroot/stylesheets/
fi
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \