Commits

Zero Piraeus  committed 0395ba3

Aesthetic fix to <examples/css-21-spec/run.sh>.

  • Participants
  • Parent commits a1a42a0

Comments (0)

Files changed (1)

File examples/css-21-spec/run.sh

 
 cd $(dirname ${0})
 
-base="examples/${NAME}"
+dir="examples/${NAME}"
 cwd2="$(basename $(dirname $(pwd)))/$(basename $(pwd))"
 
-if [[ ${base} != ${cwd2} ]]
+if [[ ${dir} != ${cwd2} ]]
 then
-    echo >&2 "${0}: must be run from ${base}"
+    echo >&2 "${0}: must be run from ${dir}"
     exit 2
 else
     echo "removing existing output files"
     for name in all print
     do
         echo "converting ${name}.css to CSX"
-        csx --aggressive ${base}/split/${name}.css > ${base}/csx/${name}.csx
+        csx --aggressive ${dir}/split/${name}.css > ${dir}/csx/${name}.csx
         for style in bare compact pretty
         do
             echo "converting ${name}.csx to ${style} CSS"
-            csx --${style} ${base}/csx/${name}.csx > ${base}/${style}/${name}.css
+            csx --${style} ${dir}/csx/${name}.csx > ${dir}/${style}/${name}.css
         done
     done
 fi