From 6c162ba243f9e62651a13ce2cb4ca2ec9d422509 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 12 Jan 2018 20:04:25 +0300 Subject: move libegg to the top srcdir and drop some leftovers --- cut-n-paste-code/libegg/update-from-egg.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 cut-n-paste-code/libegg/update-from-egg.sh (limited to 'cut-n-paste-code/libegg/update-from-egg.sh') diff --git a/cut-n-paste-code/libegg/update-from-egg.sh b/cut-n-paste-code/libegg/update-from-egg.sh deleted file mode 100755 index 9be68a9b..00000000 --- a/cut-n-paste-code/libegg/update-from-egg.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -function die() { - echo $* - exit 1 -} - -if test -z "$EGGDIR"; then - echo "Must set EGGDIR" - exit 1 -fi - -if test -z "$EGGFILES"; then - echo "Must set EGGFILES" - exit 1 -fi - -for FILE in $EGGFILES; do - if cmp -s $EGGDIR/$FILE $FILE; then - echo "File $FILE is unchanged" - else - cp $EGGDIR/$FILE $FILE || die "Could not move $EGGDIR/$FILE to $FILE" - echo "Updated $FILE" - fi -done -- cgit v1.2.1