shithub: ricket

Download patch

ref: 8f52421792e250571f8a6e9aee77d27d7807260f
parent: 83fa010f51afc97988440755dbc14dbcac854d23
author: Skyrbunny <[email protected]>
date: Fri Sep 8 13:51:47 EDT 2023

trying to fix the bin making

binary files a/ricket b/ricket differ
--- a/ricket.go
+++ b/ricket.go
@@ -90,7 +90,11 @@
 	bin_dir := os.Args[4]
 	program_name := os.Args[3]
 
-	err := os.Mkdir(bin_dir+"/"+program_name, fs.ModeAppend)
+	err := os.Mkdir(bin_dir, fs.ModeAppend)
+	if err != nil {
+		fmt.Printf("Error while making destination directory: %s", err)
+	}
+	err = os.Mkdir(bin_dir+"/"+program_name, fs.ModeAppend)
 	if err != nil {
 		fmt.Printf("Error while making destination directory: %s", err)
 	}