Update of /cvsroot/wxlua/wxLua/distrib/autopackage
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7786/distrib/autopackage
Modified Files:
makeautopackage
Log Message:
small fixes for AP build
Index: makeautopackage
===================================================================
RCS file: /cvsroot/wxlua/wxLua/distrib/autopackage/makeautopackage,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** makeautopackage 3 Feb 2008 21:55:31 -0000 1.4
--- makeautopackage 3 Feb 2008 22:45:17 -0000 1.5
***************
*** 8,15 ****
! if [[ ! -f distrib/autopackage/default.apspec ]]; then
echo
! echo "Please first run the configure script in the ../.. folder in"
! echo "order to create the default.apspec file from default.apspec.in"
echo
exit 1
--- 8,15 ----
! if [[ ! -f default.apspec ]]; then
echo
! echo "Please first run the configure script (in the ../.. folder)"
! echo "in order to create the default.apspec file from default.apspec.in"
echo
exit 1
***************
*** 27,38 ****
mv *.xml *.meta *.package distrib/autopackage/toupload
echo
echo
echo "= REMINDER ==================================================="
echo "Now that the autopackage has been built successfully, remember"
! echo "to upload the .meta, .package and .xml files to the"
! echo " $currloc"
! echo "folder:"
echo " scp toupload/*.xml toupload/*.meta toupload/*.package $sshurl"
echo "=============================================================="
fi
--- 27,39 ----
mv *.xml *.meta *.package distrib/autopackage/toupload
+ packagename=`ls distrib/autopackage/toupload/*package`
+
echo
echo
echo "= REMINDER ==================================================="
echo "Now that the autopackage has been built successfully, remember"
! echo "to upload the .meta, .package and .xml files:"
echo " scp toupload/*.xml toupload/*.meta toupload/*.package $sshurl"
+ echo " curl -T toupload/*.package ftp://upload.sourceforge.net/incoming/$packagename"
echo "=============================================================="
fi
|