]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-deb
2 #----------------------------------------------------------------------
16 if ping -q -c1 -w1 $host > /dev
/null
; then
25 if [ $skipdeb != yes ]; then
26 # We use a chroot environment on the build machine for the debian
27 # builds, so this build is pretty simple. Just copy the tarball
28 # and a build script to the build machine, and then run
29 # do-build-deb in the chroot.
31 if TestOnline
$host; then
33 echo "The $host machine is online, build continuing..."
35 echo "Copying source files and build script..."
36 ssh root@
$host "mkdir -p $chRootRoot/$LINUX_BUILD && rm -rf $chRootRoot/$LINUX_BUILD/*"
37 scp
$STAGING_DIR/wxPython
-src* distrib
/all
/do-build-deb \
38 root@
$host:$chRootRoot/$LINUX_BUILD
40 ssh root@
$host "dchroot --chroot $chRootName --directory $LINUX_BUILD \"./do-build-deb $VERSION $VER2\""
42 echo "Fetching the results..."
43 mkdir -p $STAGING_DIR/$chRootName
44 ssh root@
$host "rm $chRootRoot/$LINUX_BUILD/do-build-deb"
45 scp
"root@$host:$chRootRoot/$LINUX_BUILD/*" $STAGING_DIR/$chRootName
46 ssh root@
$host "rm $chRootRoot/$LINUX_BUILD/*"
49 echo "The $host machine is **OFFLINE**, skipping the binary DEB build."