Commit c614d668 authored by f3nix's avatar f3nix

Fix the packagesrc.sh behaviour when used on systems with locales set to...

Fix the packagesrc.sh behaviour when used on systems with locales set to something else than English.
parent 62752715
......@@ -24,7 +24,7 @@ svn export -r ${svnrev} ${svnpath}/kicad-library
# create "include/config.h" with svn date & revision in it
echo "Getting svn revision info..."
svndate=`svn info -r ${svnrev} ${svnpath}/kicad | grep "Last Changed Date: " | cut -f4 -d' ' | sed s/-//g`
svndate=`LANG=C svn info -r ${svnrev} ${svnpath}/kicad | grep "Last Changed Date: " | cut -f4 -d' ' | sed s/-//g`
cat <<EOF >kicad/include/config.h
#ifndef __KICAD_SVN_VERSION_H__
#define __KICAD_SVN_VERSION_H__
......@@ -41,5 +41,4 @@ cd ..
# rename with proper version and tar it up
mv ${tempdir} kicad-${mainver}
tar -zcf kicad-${mainver}.tar.z kicad-${mainver}
tar -zcf kicad-${mainver}.tar.gz kicad-${mainver}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment