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