1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/bin/sh
## DP: Script to move the file kuwhag.c from packlib/kuip/code_kuip/kuwhag.c
## DP: into graflib/higz/higzcc. It appears to be the only file in code_kuip
## DP: that depends upon grafX11 and libX11, so it fits in better here.
set -e
cd src
case "$1" in
-patch)
mv packlib/kuip/code_kuip/kuwhag.c graflib/higz/higzcc/
cp -r packlib/kuip/kuip graflib/higz/
;;
-unpatch)
rm -r graflib/higz/kuip
mv graflib/higz/higzcc/kuwhag.c packlib/kuip/code_kuip/
;;
*) exit 1 ;;
esac
|