fix perl regexp in new switch-* functions

pull/16/head
Dan Ballard 1 year ago
parent 64528d731f
commit 127ad82b21
  1. 2
      switch-ffi.sh
  2. 2
      switch-gomobile.sh

@ -2,4 +2,4 @@
perl -pi -e "s/^package cwtch/\/\/package cwtch/" lib.go
perl -pi -e "s/^\/\/package main/package main/" lib.go
perl -pi -e "s/^\/\/func main()/func main()/" lib.go
perl -pi -e "s/^\/\/func main\(\)/func main\(\)/" lib.go

@ -2,4 +2,4 @@
perl -pi -e "s/^\/\/package cwtch/package cwtch/" lib.go
perl -pi -e "s/^package main/\/\/package main/" lib.go
perl -pi -e "s/^func main()/\/\/func main()/" lib.go
perl -pi -e "s/^func main\(\)/\/\/func main\(\)/" lib.go

Loading…
Cancel
Save