From fd7e1fe892b0766892b39132450e21340141465f Mon Sep 17 00:00:00 2001 From: lhess2021 Date: Sun, 6 Mar 2022 19:46:48 -0500 Subject: [PATCH] .gitignore automation --- shell-scripts.d/canticle-to-xml-automated.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell-scripts.d/canticle-to-xml-automated.sh b/shell-scripts.d/canticle-to-xml-automated.sh index 4eb00fb..fce4412 100755 --- a/shell-scripts.d/canticle-to-xml-automated.sh +++ b/shell-scripts.d/canticle-to-xml-automated.sh @@ -34,12 +34,13 @@ if [[ "$(pwd)" =~ shell-scripts.d ]]; then echo "Copying tercet-tags.sh" && cp ../shell-scripts.d/tercet-tags.sh $dir_xml/tercet-tags.sh &&\ echo "Changing dir to $dir_xml" && cd $dir_xml &&\ echo "Running tercet-tags.sh" && ./tercet-tags.sh &&\ - echo "Removing tercet-tags.sh" && rm ./tercet-tags.sh &&\ + echo "Removing tercet-tags.sh" && rm tercet-tags.sh &&\ echo "Changing dir to $shell_scripts_dir" && cd $shell_scripts_dir &&\ echo "Copying top-level-tags.sh" && cp ../shell-scripts.d/top-level-tags.sh $dir_xml/top-level-tags.sh &&\ echo "Changing dir to $dir_xml" && cd $dir_xml &&\ echo "Running top-level-tags.sh" && ./top-level-tags.sh &&\ - echo "Removing top-level-tags.sh" && rm ./top-level-tags.sh &&\ + echo "Removing top-level-tags.sh" && rm top-level-tags.sh &&\ + echo "Adding .gitignore" && echo 'xpath.sh' > .gitignore &&\ echo "Changing dir to $shell_scripts_dir" && cd $shell_scripts_dir done else