summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsachin2013-08-29 19:58:32 +0530
committerpsachin2013-08-29 19:58:32 +0530
commit39e1cbd8adcb1e4a43ceee30c81820e93a304494 (patch)
treeb69011dd564fa7879daade01444064712b4518f2
parent43671332d839320065fc6bc620f96162b781f7f7 (diff)
downloadtbc-auto-checker-39e1cbd8adcb1e4a43ceee30c81820e93a304494.tar.gz
tbc-auto-checker-39e1cbd8adcb1e4a43ceee30c81820e93a304494.tar.bz2
tbc-auto-checker-39e1cbd8adcb1e4a43ceee30c81820e93a304494.zip
added authors email
fixed minor bug in for-loop
-rwxr-xr-xauto.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/auto.sh b/auto.sh
index 0b2577c..649d60e 100755
--- a/auto.sh
+++ b/auto.sh
@@ -2,7 +2,8 @@
# Auto checker script for Scilab Textbook Companion
# http://scilab.in/Textbook_Companion_Project
-# Original author: Lavitha Pereira
+# Original author: Lavitha Pereira <lavitha89@gmail.com>
+# Contributor: Sachin Patil <isachin@iitb.ac.in>
# This file is part of tbc-auto-checker.
# tbc-auto-checker is free software: you can redistribute it and/or modify
@@ -20,7 +21,7 @@
# Set your scilab path here
-SCI_PATH="/home/sachin/Downloads/scilab-5.4.0-beta-2/bin/scilab-adv-cli"
+SCI_PATH="${HOME}/Downloads/scilab-5.4.0-beta-2/bin/scilab-adv-cli"
# set where to store graph images
SCI_GRAPH_PATH="${HOME}/Downloads/tbc_graphs"
@@ -158,7 +159,7 @@ function remove_previous_dirs_and_unzip(){
if [ ! -z "$(find . -type f -iname '*.zip')" ];
then
ZIP_FILE_LIST=$(ls -1 *.zip)
- for ZIP_FILE in ${ZIP_FILE_LIST}:
+ for ZIP_FILE in ${ZIP_FILE_LIST};
do
# loop through the list
remove_previous_dirs_and_unzip "${ZIP_FILE}"