summaryrefslogtreecommitdiff
path: root/checkgit
diff options
context:
space:
mode:
authorRiku Viitanen <riku.viitanen@protonmail.com>2023-09-03 17:00:18 +0300
committerRiku Viitanen <riku.viitanen@protonmail.com>2023-09-03 17:00:21 +0300
commitef3fb05d66f1b5c94dd65ae2d14b691227d6afbe (patch)
tree894ae0f3d31e032a34fc9a6d65f6c31036ae8dcb /checkgit
parente369e8fb4ab688f26334e93067fdd307d5793710 (diff)
Less cat abuse
More than 90% of cats were thus terminated. read (shell built-in) is better at reading, and dogs are better pets. Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
Diffstat (limited to 'checkgit')
-rwxr-xr-xcheckgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkgit b/checkgit
index eb97dcae..06a5bd7a 100755
--- a/checkgit
+++ b/checkgit
@@ -4,7 +4,7 @@
. "include/err.sh"
-projectname="$(cat projectname)"
+read projectname < projectname
main()
{