diff --git a/uppbox/Scripts/Scripts.upp b/uppbox/Scripts/Scripts.upp index 9ae8bd38e..8b686d5c2 100644 --- a/uppbox/Scripts/Scripts.upp +++ b/uppbox/Scripts/Scripts.upp @@ -1,6 +1,10 @@ file win, www, + deb64, + idebuild, + uppdeb, + uppnighty2deb, src, all, GCCMK.bm, diff --git a/uppbox/Scripts/deb64 b/uppbox/Scripts/deb64 index 6535803ee..dd73aca07 100755 --- a/uppbox/Scripts/deb64 +++ b/uppbox/Scripts/deb64 @@ -1,52 +1,53 @@ -#!/bin/bash -# dostable -# quick go to create deb package from my stable repo -# -################################################################# -# REPLACE VALUES WITH YOUR OWN # -# SVN repository full path -NIGHTY_PATH="~/upp.tmp/u" -# -# Destination path for generated debian -DEST_PATH="~/upload" -# -# Mantainer name and email -export MAINTAINER="Massimo Del Fedele" -# -export EMAIL="max@veneto.com" -################################################################# -# -# checks if nighty repo and destination path are ok -if [ ! -d $NIGHTY_PATH/uppsrc ] -then - echo "ERROR - UPP path not found in '$NIGHTY_PATH'" - echo "Please modify current script to fit your Upp development path" - exit 1 -fi - -if [ ! -d $DEST_PATH ] -then - echo "ERROR - Invalid destinatio path '$DEST_PATH'" - echo "Please modify current script to fit your destination path" - exit 1 -fi - -#locates 'uppnighty2deb' script - first try on path -uppnighty2deb="`which uppnighty2deb`" -if [ x$uppnighty2deb = x ] -then - # couldn't find it on path, just try on this script's path - LSOF=$(lsof -p $$ 2>/dev/null | grep -E "/"$(basename $0)"$") - uppnighty2deb=$(echo $LSOF | sed -r s/'^([^\/]+)\/'/'\/'/1 2>/dev/null) - uppnighty2deb=$(dirname $uppnighty2deb)/uppnighty2deb -fi -if [ ! -f $uppnighty2deb ] -then - echo "ERROR - Could not find 'uppnighty2deb' script" - echo "Please check if it's on current path" - exit 1 -fi - -#just run uppnighty2deb with my params -$uppnighty2deb $NIGHTY_PATH $DEST_PATH - +#!/bin/bash +# dostable +# quick go to create deb package from my stable repo +# +################################################################# +# REPLACE VALUES WITH YOUR OWN # +# SVN repository full path +NIGHTY_PATH="~/upp.tmp/u" +# +# Destination path for generated debian +DEST_PATH="~/upload" +# +# Mantainer name and email +export MAINTAINER="Massimo Del Fedele" +# +export EMAIL="max@veneto.com" +################################################################# +# +# checks if nighty repo and destination path are ok +if [ ! -d $NIGHTY_PATH/uppsrc ] +then + echo "ERROR - UPP path not found in '$NIGHTY_PATH'" + echo "Please modify current script to fit your Upp development path" + exit 1 +fi + +if [ ! -d $DEST_PATH ] +then + echo "ERROR - Invalid destinatio path '$DEST_PATH'" + echo "Please modify current script to fit your destination path" + exit 1 +fi + +#locates 'uppnighty2deb' script - first try on path +uppnighty2deb="`which uppnighty2deb`" +if [ x$uppnighty2deb = x ] +then + # couldn't find it on path, just try on this script's path + LSOF=$(lsof -p $$ 2>/dev/null | grep -E "/"$(basename $0)"$") + uppnighty2deb=$(echo $LSOF | sed -r s/'^([^\/]+)\/'/'\/'/1 2>/dev/null) + uppnighty2deb=$(dirname $uppnighty2deb)/uppnighty2deb +fi +if [ ! -f $uppnighty2deb ] +then + echo "ERROR - Could not find 'uppnighty2deb' script" + echo "Please check if it's on current path" + exit 1 +fi + +#just run uppnighty2deb with my params +$uppnighty2deb $NIGHTY_PATH $DEST_PATH + +~/bin/upload