Sha256: b86a1a6eff497dad7e1531d1661e7de69de7bf0a2a612bc6de6b4a376a082461
Contents?: true
Size: 781 Bytes
Versions: 6
Compression:
Stored size: 781 Bytes
Contents
#!/bin/bash baseDir=`dirname $0` outputDir=${baseDir}/pdf exclude=('figures' 'figures-dia' 'figures-source' 'latex' 'makepdfs' 'pdf' 'README') dirContent=`ls $baseDir` argString="" echo $i; for dir in $dirContent; do if [ -n $dir ]; then isLang=1 for i in ${exclude[@]}; do if [ $i == $dir ]; then isLang=0 fi done if [ $isLang -eq 1 ]; then if [ "$1" = "" ]; then argString="${argString} ${dir}" else for i in ${@}; do if [ $i = $dir ]; then argString="${argString} ${dir}" fi done fi fi fi done echo "Will generate pdf for the following languages:" echo " "$argString mkdir -p $outputDir echo echo "The generation process will start now." time ${baseDir}/latex/makepdf $argString echo echo echo "Done!"
Version data entries
6 entries across 6 versions & 1 rubygems