Guest User

Untitled

a guest
May 26th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. filename="$1.go"
  4. echo "compiling $filename ..."
  5. out=$(6g $filename)
  6. printf "$out"
  7.  
  8. if [$out -eq ""];
  9. then
  10. filename="$1.6"
  11. echo "linking $filename ..."
  12. out= $(6l -o $1 $filename)
  13. printf "$out"
  14.  
  15. if [$out -eq ""];
  16. then
  17. echo "go for it: ./$1"
  18. fi
  19. fi
Add Comment
Please, Sign In to add comment