Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-11-04 22:16:35 +0000
committerStijn Buys <ingar@osirion.org>2010-11-04 22:16:35 +0000
commit19a7bc27c54341c14171b6689e843ec390adf86a (patch)
tree510f457b28b5cd5af0b6ebbef28d3417a54357be /tools/scripts
parent55e5c42fcf15656073562492438c20f66ec894ed (diff)
added fonts and scripts
Diffstat (limited to 'tools/scripts')
-rwxr-xr-xtools/scripts/list-files.sh12
-rwxr-xr-xtools/scripts/rename-sky.sh12
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/scripts/list-files.sh b/tools/scripts/list-files.sh
new file mode 100755
index 0000000..50200c9
--- /dev/null
+++ b/tools/scripts/list-files.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+dir="$1"
+
+for f in ${dir}/*; do
+ echo "<tr>"
+ echo " <td>${dir}</td>"
+ echo " <td>`basename ${f}`</td>"
+ echo " <td></td>"
+ echo "</tr>"
+done
+
diff --git a/tools/scripts/rename-sky.sh b/tools/scripts/rename-sky.sh
new file mode 100755
index 0000000..548c7d2
--- /dev/null
+++ b/tools/scripts/rename-sky.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+sky="$1"
+
+mv ${sky}_back6.png ${sky}_back.png
+mv ${sky}_bottom4.png ${sky}_down.png
+mv ${sky}_front5.png ${sky}_front.png
+mv ${sky}_left2.png ${sky}_left.png
+mv ${sky}_right1.png ${sky}_right.png
+mv ${sky}_top3.png ${sky}_up.png
+
+