]> git.lyx.org Git - lyx.git/blobdiff - development/tools/updatestats.sh
Add support for mixed-encoded biblatex files
[lyx.git] / development / tools / updatestats.sh
index 7451a22e10a7ba69f93fc60abd77be85c966bb6f..92970ceacce9b318801c0a04c28ce483de2dfca9 100755 (executable)
@@ -21,14 +21,14 @@ fi
 # Get us to the root of the tree we are in.
 MYDIR=${0%updatestats.sh};
 if [ -n "$MYDIR" ]; then
-  cd $MYDIR;
+  cd "$MYDIR";
 fi
 cd ../../;
 LYXROOT=$(pwd);
 
 # Are we in trunk or branch?
 TRUNK="TRUE";
-if ls status.* 2>/dev/null | grep -q status; then 
+if ls status.* 2>/dev/null; then 
   TRUNK="";
 fi
 
@@ -48,7 +48,7 @@ else
   I18NFILE=i18n.inc;
 fi
 
-if ! cd $FARM; then
+if ! cd "$FARM"; then
   echo "Unable to cd to $FARM!";
   exit 1;
 fi
@@ -62,7 +62,7 @@ echo Updating the www-user tree...
 svn up
 
 echo Copying $I18NFILE...;
-cp $LYXROOT/po/$I18NFILE .;
+cp "$LYXROOT/po/$I18NFILE" .;
 
 echo Committing...;
 if [ -z "$GIT" ]; then