Skip to content

Commit

Permalink
Merge pull request #105 from pjf/104_gamedata
Browse files Browse the repository at this point in the history
Better stripping of paths on install.
  • Loading branch information
AlexanderDzhoganov committed Oct 20, 2014
2 parents 770761a + a96f205 commit 8a41aa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CKAN/CKAN/ModuleInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ private string Sha1Sum(string path)

// Strip off everything up to GameData/Ships
// TODO: There's got to be a nicer way of doing path resolution.
outputName = Regex.Replace(outputName, @"^/?(.*(GameData|Ships)/)?", "");
outputName = Regex.Replace(outputName, @"^/?(.*(GameData|Ships)/)?", "", RegexOptions.IgnoreCase);

// Aww hell yes, let's write this file out!

Expand Down

0 comments on commit 8a41aa3

Please sign in to comment.