mirror of https://github.com/CGAL/cgal
Untabiffy
This commit is contained in:
parent
6870ddd8ef
commit
f09c4ffe4e
|
|
@ -47,8 +47,8 @@ usage() {
|
|||
printerr ' --verbose : print log to standard output, instead of the log file'
|
||||
printerr ' --beta <n> : followed by a number. When used with --public, will modify
|
||||
the release number and the release version name to include beta<n>'
|
||||
printerr ' --dest : followed by the path to where the release should be created. Default is /tmp.'
|
||||
printerr ' --is_master : replace the Ic in the name by I.'
|
||||
printerr ' --dest : followed by the path to where the release should be created. Default is /tmp.'
|
||||
printerr ' --is_master : replace the Ic in the name by I.'
|
||||
printerr ' <packages dir> : the directory containing the packages [default is trunk]'
|
||||
}
|
||||
|
||||
|
|
@ -98,15 +98,15 @@ while [ $1 ]; do
|
|||
shift;
|
||||
continue
|
||||
;;
|
||||
--dest)
|
||||
shift
|
||||
DESTINATION=$1
|
||||
shift;continue
|
||||
;;
|
||||
--is_master)
|
||||
IS_MASTER="y"
|
||||
shift;continue
|
||||
;;
|
||||
--dest)
|
||||
shift
|
||||
DESTINATION=$1
|
||||
shift;continue
|
||||
;;
|
||||
--is_master)
|
||||
IS_MASTER="y"
|
||||
shift;continue
|
||||
;;
|
||||
-*)
|
||||
printerr "Unrecognized option : $1"
|
||||
exit
|
||||
|
|
@ -230,12 +230,12 @@ fi
|
|||
|
||||
function cleanup() {
|
||||
# Remove local directory and tarball
|
||||
if [ -d ${release_name} ]; then
|
||||
if [ -d ${release_name} ]; then
|
||||
rm -rf ./"${release_name}"
|
||||
fi
|
||||
if [ -f ${release_name}.tar.gz ]; then
|
||||
fi
|
||||
if [ -f ${release_name}.tar.gz ]; then
|
||||
rm ${release_name}.tar.gz
|
||||
fi
|
||||
fi
|
||||
if [ -n "$DO_PUBLIC" ]; then
|
||||
[ -d "${public_release_name}" ] && rm -rf ./"${public_release_name}"
|
||||
rm -rf doc
|
||||
|
|
@ -290,11 +290,11 @@ if [ -n "$DO_PUBLIC" ]; then
|
|||
fi
|
||||
public_release_version="${MAJOR_NUMBER}.${MINOR_NUMBER}${BUGFIX_STRING}"
|
||||
if [ -n "$BETA" ]; then
|
||||
public_release_name="CGAL-${public_release_version}-beta${BETA}"
|
||||
public_release_name="CGAL-${public_release_version}-beta${BETA}"
|
||||
elif [ -r "${NUMBERS_DIR}/public_release_name" ]; then
|
||||
public_release_name=`cat "${NUMBERS_DIR}/public_release_name"`
|
||||
public_release_name=`cat "${NUMBERS_DIR}/public_release_name"`
|
||||
else
|
||||
public_release_name="CGAL-${public_release_version}"
|
||||
public_release_name="CGAL-${public_release_version}"
|
||||
fi
|
||||
mv -T ${release_name} $public_release_name
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue