-#! /bin/csh -f
+# /bin/csh -f
#########################################################################
# ATutor bundle script #
# ./bundle [VERSION] to specify an optional version number #
# This script retreives a copy of the latest English language from the atutor.ca language database via wget.
#
+
+
set now = `date +"%Y_%m_%d"`
set atutor_dir = "ATutor_$now"
set bundle = "ATutor"
echo "Bundle complete. Enjoy.Exiting."
-exit 1
\ No newline at end of file
+exit 1
$all_package_base_path = implode('/', $all_package_base_path);
}
- if ($common_path != '' && substr($content_info['new_path'], strlen($common_path))) {
+ // The following condition checks if there is a common path, if so, remove it from the content base_href.
+ // This prevents the path to grow longer.
+ if ($common_path != ''
+ && ($content_info['new_path'] === $common_path
+ || substr($content_info['new_path'], strlen($common_path)))) {
$content_info['new_path'] = $package_base_name . substr($content_info['new_path'], strlen($common_path));
} else {
$content_info['new_path'] = $package_base_name . '/' . $content_info['new_path'];
ATutor Readme
-Installing a ATutor bundled distribution
+Installing an ATutor bundled distribution
Full installation and upgrade instructions are available at:
http://atutor.ca/atutor/docs/installation.php
See: http://wiki.atutor.ca/display/atutorwiki/Using+Git+and+GitHub
-