aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorlcapriotti <lcapriotti@svn>2010-02-23 15:46:19 +0000
committerlcapriotti <lcapriotti@svn>2010-02-23 15:46:19 +0000
commitef28ae2c10ef4b2e4d926f25874978156b3eebf2 (patch)
tree5838d031326e9e17c6cb5e6a6f1cc70f4759662a /tools
parent8706be74b15f43100495ae718c50eeeccf1c8fee (diff)
cosmetic rename of variable
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28074 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
-rwxr-xr-xtools/XBMCLive/SDK/build.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/XBMCLive/SDK/build.sh b/tools/XBMCLive/SDK/build.sh
index 4716ceb7ae..256b6c213c 100755
--- a/tools/XBMCLive/SDK/build.sh
+++ b/tools/XBMCLive/SDK/build.sh
@@ -47,9 +47,9 @@ cleanup()
trap 'cleanup' EXIT TERM INT
-if [ -z $DISTROCODENAME ]; then
+if [ -z $VARIANTNAME ]; then
# Get host codename by default
- export DISTROCODENAME=$(cat /etc/lsb-release | grep CODENAME | cut -d= -f2)
+ export VARIANTNAME=$(cat /etc/lsb-release | grep CODENAME | cut -d= -f2)
fi
THISDIR=$(pwd)
@@ -92,8 +92,8 @@ if ! which lh > /dev/null ; then
# Fix for missing directory for Ubuntu's d-i, to be removed when fixed upstream!
cd live-helper/data/debian-cd
- if [ ! -h $DISTROCODENAME ]; then
- ln -s lenny $DISTROCODENAME
+ if [ ! -h $VARIANTNAME ]; then
+ ln -s lenny $VARIANTNAME
fi
cd $WORKPATH/Tools
fi
@@ -106,7 +106,7 @@ if ! which lh > /dev/null ; then
cd $THISDIR
fi
-echo "Start building, using Ubuntu $DISTROCODENAME repositories ..."
+echo "Start building variant $VARIANTNAME ..."
cd $WORKPATH
@@ -114,9 +114,9 @@ cd $WORKPATH
# Put in place distro variants, remove other variants
find ./ -name "*-variant" | \
while read i; do
-# if [[ $i =~ $DISTROCODENAME-variant ]]; then
- if [ -n "$(echo $i | grep $DISTROCODENAME-variant)" ]; then
- j=${i%%.$DISTROCODENAME-variant}
+# if [[ $i =~ $VARIANTNAME-variant ]]; then
+ if [ -n "$(echo $i | grep $VARIANTNAME-variant)" ]; then
+ j=${i%%.$VARIANTNAME-variant}
mv $i $j
else
rm $i