git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58677 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -74,7 +74,7 @@ def main():
grass.fatal(_("option <output>: <%s> exists.") % outfile)
grass.message(_("Packing <%s> to <%s>...") % (gfile['fullname'], outfile))
- basedir = os.path.sep.join(gfile['file'].split(os.path.sep)[:-2])
+ basedir = os.path.sep.join(os.path.normpath(gfile['file']).split(os.path.sep)[:-2])
olddir = os.getcwd()
# copy elements