make compatible with julia 1.0
This commit is contained in:
parent
ae67c28bdf
commit
361d4110d2
@ -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/>.
|
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
##
|
##
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
import LibGit2
|
||||||
DEBUG = false # enable for verbose messages
|
DEBUG = false # enable for verbose messages
|
||||||
|
|
||||||
function check_dir(directory)
|
function check_dir(directory)
|
||||||
@ -55,7 +56,7 @@ function create_default_structure(projectDir)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
projectName = rsearchindex(projectDir, "/" )
|
projectName = occursin(projectDir, "/" )
|
||||||
|
|
||||||
if DEBUG == true print(projectName, "\n") end
|
if DEBUG == true print(projectName, "\n") end
|
||||||
projectName = projectDir[projectName+1:length(projectDir)]
|
projectName = projectDir[projectName+1:length(projectDir)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user