Browse Source

Moved all reports to a reports subdirectory

Samuel W. Flint 6 years ago
parent
commit
23af41343d
1 changed files with 5 additions and 5 deletions
  1. 5 5
      library.org

+ 5 - 5
library.org

@@ -340,7 +340,7 @@ This handles git as needed, by first checking to see if the first argument is ~i
       shift
       case ${NAME} in
           list)
-              for report in ${LIBRARYDIRECTORY}/*.report ;
+              for report in ${LIBRARYDIRECTORY}/reports/*.report ;
               do
                   echo " - $(basename -- ${report} .report)"
               done
@@ -352,12 +352,12 @@ This handles git as needed, by first checking to see if the first argument is ~i
               fi
               REPORT=$1
               shift
-              echo "# -*- mode: shell-script -*-" > ${LIBRARYDIRECTORY}/${REPORT}.report
-              emacsclient --alternate-editor="" -n ${LIBRARYDIRECTORY}/${REPORT}.report
+              echo "# -*- mode: shell-script -*-" > ${LIBRARYDIRECTORY}/reports/${REPORT}.report
+              emacsclient --alternate-editor="" -n ${LIBRARYDIRECTORY}/reports/${REPORT}.report
           ;;
           ,*)
-              if [[ -e ${LIBRARYDIRECTORY}/${NAME}.report ]] ; then
-                 sh ${LIBRARYDIRECTORY}/${NAME}.report $@
+              if [[ -e ${LIBRARYDIRECTORY}/reports/${NAME}.report ]] ; then
+                 sh ${LIBRARYDIRECTORY}/reports/${NAME}.report $@
               fi
       esac
   }