Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
partially revert build.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
Piethein Strengholt committed Nov 9, 2011
1 parent 12f44d0 commit 4982212
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions SDK/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if ! which lb > /dev/null ; then
if [ ! -d live-build ]; then
repoURL="http://live.debian.net/archive/packages/live-build/orig/"
if [ -z "$SDK_USELATESTDEBIANLIVE" ]; then
latestPackage="live-build_3.0~a35.orig.tar.gz"
latestPackage="live-build_3.0~a38.orig.tar.gz"
else
latestPackage=$(curl -x "" -s -f $repoURL | grep live-build | tail -1 | grep -o '"live-build_[^"]*.tar.gz"' | sed -e "s/\"//g")
fi
Expand All @@ -116,16 +116,7 @@ if ! which lb > /dev/null ; then
export LB_BASE="${LB_HOMEDIR}"
export PATH="${PATH}:${LB_BASE}/scripts/build"

# TODO: remove symlink creation once oneiric has come with the latest build-live package
ln -s $LB_HOMEDIR/data/debian-cd/maverick $LB_HOMEDIR/data/debian-cd/oneiric

cd $THISDIR
else
# TODO: remove symlink creation once oneiric has come with the latest build-live package
if [ ! -d "/usr/share/live/build/data/debian-cd/oneiric" ];
then
ln -s /usr/share/live/build/data/debian-cd/maverick /usr/share/live/build/data/debian-cd/oneiric
fi
fi

echo "Start building..."
Expand Down

0 comments on commit 4982212

Please sign in to comment.