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/>.
|
||||
##
|
||||
##############################################################################
|
||||
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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user