diff options
author | Och Noe <och_noe@forksworld.de> | 2019-05-29 16:53:43 +0200 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2019-05-29 16:53:43 +0200 |
commit | 146ce6abfb6f38bae85f75ac7643cbb3461bb848 (patch) | |
tree | f693e18278a162818110e0a54cc8866fa2a7ac17 /version_info | |
parent | 62ffd2258bba91e7eee5557686152c10720fd00d (diff) | |
download | advtrains_platform-146ce6abfb6f38bae85f75ac7643cbb3461bb848.tar.gz advtrains_platform-146ce6abfb6f38bae85f75ac7643cbb3461bb848.tar.bz2 advtrains_platform-146ce6abfb6f38bae85f75ac7643cbb3461bb848.zip |
better descriptions for the paths
Diffstat (limited to 'version_info')
-rwxr-xr-x | version_info | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/version_info b/version_info index a24c2ac..30a7fd0 100755 --- a/version_info +++ b/version_info @@ -1,14 +1,16 @@ #!/bin/bash -ls -1r *.lua *.txt | head -12 >.filelist +find *.lua *.txt textures -type f | fgrep -v textures/advtrains_platform_version_node.png | head -12 >.filelist -echo "$(date --iso=m) [$(basename "$(realpath . )")]" >.datelist +echo -n "" >.datelist cat .filelist | while read line ; do echo "$(date --iso=m -r ${line}) ${line}" >>.datelist done -anytopnm .datelist >.image + + +(echo "$(date --iso=m) [$(basename "$(realpath . )")]" ; cat .datelist | sed 's/ textures/ t/' | sort -r ) | anytopnm >.image WIDTH=$(head -2 .image | tail -1 | awk '{ print $1 }') HEIGHT=$(head -2 .image | tail -1 | awk '{ print $2 }') |