make compatible with julia 1.0

This commit is contained in:
mollusk 2018-11-07 01:48:01 -07:00
parent ae67c28bdf
commit 361d4110d2

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/julia
#!/usr/bin/julia
###############################################################################
##
@ -19,6 +19,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
##############################################################################
import LibGit2
DEBUG = false # enable for verbose messages
function check_dir(directory)
@ -55,7 +56,7 @@ function create_default_structure(projectDir)
end
projectName = rsearchindex(projectDir, "/" )
projectName = occursin(projectDir, "/" )
if DEBUG == true print(projectName, "\n") end
projectName = projectDir[projectName+1:length(projectDir)]