Skip to content

Commit

Permalink
set executable permission on created file when teplate is executable,
Browse files Browse the repository at this point in the history
fixes #90
  • Loading branch information
Nathan Hamblen committed Dec 24, 2012
1 parent 1564500 commit f988c68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/src/main/scala/g8.scala
Expand Up @@ -204,6 +204,9 @@ object G8Helpers {
}
}
}
if (in.canExecute) {
out.setExecutable(true)
}
}
}

Expand Down

0 comments on commit f988c68

Please sign in to comment.