Revision: 379 http://opencsw.svn.sourceforge.net/opencsw/?rev=379&view=rev Author: skayser Date: 2011-07-08 19:05:42 +0000 (Fri, 08 Jul 2011)
Log Message: ----------- mgar: fix get_absolute_dirname, return proper path when dir doesn't end with / Modified Paths: -------------- gar-wrapper/mgar Modified: gar-wrapper/mgar =================================================================== --- gar-wrapper/mgar 2011-07-05 21:33:52 UTC (rev 378) +++ gar-wrapper/mgar 2011-07-08 19:05:42 UTC (rev 379) @@ -191,7 +191,8 @@ } function get_absolute_dirname { - ( cd `dirname "$1"` && pwd -P ) + local __path="$1" + ( cd "${__path}" && pwd -P ) } function register_buildtree { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel