mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
steal from profterm to fix build
2002-07-15 jacob berkman <jacob@ximian.com> * src/update-from-egg.sh: steal from profterm to fix build
This commit is contained in:
parent
badb397bce
commit
dccd7a9b99
@ -1,3 +1,7 @@
|
|||||||
|
2002-07-15 jacob berkman <jacob@ximian.com>
|
||||||
|
|
||||||
|
* src/update-from-egg.sh: steal from profterm to fix build
|
||||||
|
|
||||||
2002-07-13 Havoc Pennington <hp@pobox.com>
|
2002-07-13 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/workspace.c (meta_workspace_new): don't put a newline after
|
* src/workspace.c (meta_workspace_new): don't put a newline after
|
||||||
|
25
src/update-from-egg.sh
Executable file
25
src/update-from-egg.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user