diff options
Diffstat (limited to 'hacks/glx/molecules.sh')
| -rwxr-xr-x | hacks/glx/molecules.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/hacks/glx/molecules.sh b/hacks/glx/molecules.sh deleted file mode 100755 index 4f417c3..0000000 --- a/hacks/glx/molecules.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -TARGET=$1 -shift -SRCS=$* - -TMP=molecules.h.$$ -rm -f $TMP -trap "rm -f $TMP" 1 2 3 15 EXIT - -if [ -z "$UTILS_SRC" ]; then UTILS_SRC="../../utils"; fi - -for f in $SRCS ; do - sh "$UTILS_SRC/ad2c" "$f" | - sed 's/",$/\\n"/' >> $TMP - echo ',' >> $TMP -done - -if cmp -s $TMP $TARGET ; then - rm $TMP -else - mv $TMP $TARGET -fi |
