From 8fab4d863c0760a04858585c8ddc3bbc1f58480c Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Sun, 17 Jul 2022 14:23:43 -0500 Subject: [PATCH] Complete #14 Co-authored-by: sigonasr2 --- C/scripts/archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/scripts/archive.sh b/C/scripts/archive.sh index 0fdda65..650dcf7 100755 --- a/C/scripts/archive.sh +++ b/C/scripts/archive.sh @@ -1,6 +1,6 @@ #Archives the current project under the applicable program name. #C -if [[ "$#" -eq 2 ]]; +if [[ "$#" -gt 1 ]]; then mkdir archives/$1 cp -R src current archives/$1