summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-09-16 19:43:41 (GMT)
committer Ashish Gupta <ashmew2@gmail.com>2017-09-16 19:43:41 (GMT)
commit5c4e7cc05b17b526c76e406b99b64522c6918b6e (patch)
treec79d36aa11b5106a53cbe1bce9461d02ad89ccd6
parentef210ccebc62607841983d8907a25b3fd407cc41 (diff)
downloadnetsurf-5c4e7cc05b17b526c76e406b99b64522c6918b6e.tar.gz
netsurf-5c4e7cc05b17b526c76e406b99b64522c6918b6e.tar.bz2
Fix tools kolibrios
-rwxr-xr-xfrontends/kolibrios/tools/mkimg.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/frontends/kolibrios/tools/mkimg.sh b/frontends/kolibrios/tools/mkimg.sh
index 40197bb..ccc35ba 100755
--- a/frontends/kolibrios/tools/mkimg.sh
+++ b/frontends/kolibrios/tools/mkimg.sh
@@ -2,16 +2,17 @@
set -x
SVNDIR=/opt/netsurf/kos32-gcc/env/kolibrios/
-BINDIR=/opt/netsurf/kos32-gcc/env/bin/
+BINDIR=/opt/netsurf/kos32-gcc/env/bin
LIBS="libpng libjpeg"
DLL="libpng16.dll libjpeg.dll"
wget http://builds.kolibrios.org/eng/latest-distr.7z --directory-prefix=$BINDIR
pushd $PWD
cd $BINDIR
-rm -rf kolibrios/lib kolibri.lbl
-7z x latest-distr.7z kolibrios/lib kolibri.lbl
-rm -f latest-distr.7z
+
+rm -rf kolibrios/lib kolibri.lbl kolibri.img
+7z x latest-distr.7z kolibrios/lib kolibri.lbl kolibri.img
+rm -f latest-distr.7z *.vdi
popd
cd $SVNDIR/contrib/sdk/sources/
@@ -32,7 +33,7 @@ done
FILENAME=bin.img
MOUNTPOINT=/mnt/temp
-OUTPUT=/opt/netsurf/kos32-gcc/env/bin/netsurf-$(date +%Y%m%d-%H%M%S).vdi
+OUTPUT=/opt/netsurf/kos32-gcc/env/netsurf-$(date +%Y%m%d-%H%M%S).vdi
rm -f $FILENAME
rm -f $OUTPUT