ref: 80fc4d5b790327bb95b0fb0fccdc785fcbb8de16
parent: a0d10e2e828768cdb062ba4a7f5aab5c2e1931e3
author: Skyrbunny <tallesttower1@gmail.com>
date: Fri Sep 8 20:02:21 EDT 2023
maybe I'm not using the right mode.
binary files a/ricket b/ricket differ
--- a/ricket.go
+++ b/ricket.go
@@ -90,7 +90,7 @@
bin_dir := os.Args[4]
program_name := os.Args[3]
- err := os.MkdirAll(bin_dir+"/"+program_name, fs.ModeAppend)
+ err := os.MkdirAll(bin_dir+"/"+program_name, fs.ModeDir)
if err != nil {
fmt.Printf("Error while making destination directory: %s\n", err)
return