From 1433d66456bfb751c0d0f0073ea0030a678b2414 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Sat, 28 Jun 2003 16:51:51 +0000 Subject: [PATCH] Some little changes I still had lying around. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@999 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/Makefile.build | 2 +- sc2/build/unix/todo | 3 +++ sc2/build/unix_installer/buildinstaller.sh | 2 +- sc2/build/unix_installer/install.sh.in | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sc2/Makefile.build b/sc2/Makefile.build index 5bb94219f..5598335ee 100644 --- a/sc2/Makefile.build +++ b/sc2/Makefile.build @@ -1,5 +1,5 @@ default: - ./build sc2 + ./build.sh sc2 %.rc.o: @DIR=$(dir $@); \ diff --git a/sc2/build/unix/todo b/sc2/build/unix/todo index 24192955d..70ecf4143 100644 --- a/sc2/build/unix/todo +++ b/sc2/build/unix/todo @@ -4,6 +4,9 @@ - PROG_*_DETECT, LIB_*_DETECT - static compilation - error message for './build.sh uqm asdasddsa' +- option to (re)generate files from config.state + (useful for automatic building) +- generating tags files some docs - sc2_LDFLAGS etc are only relevant in the top dir diff --git a/sc2/build/unix_installer/buildinstaller.sh b/sc2/build/unix_installer/buildinstaller.sh index 433eb2fe4..1a14aaca6 100755 --- a/sc2/build/unix_installer/buildinstaller.sh +++ b/sc2/build/unix_installer/buildinstaller.sh @@ -54,7 +54,7 @@ chmod -R go+rX "${TEMPDIR}/attach" echo "Making tar.gz file for everything except from the content." echo "Using maximum compression; this may take a moment." -tar -c -C "${TEMPDIR}/attach/" . | gzip -9 > "${TEMPDIR}/attach.tar.gz" +tar -c -C "${TEMPDIR}/attach/" -f - . | gzip -9 > "${TEMPDIR}/attach.tar.gz" { cat << EOF diff --git a/sc2/build/unix_installer/install.sh.in b/sc2/build/unix_installer/install.sh.in index 677533d67..d9df5b963 100644 --- a/sc2/build/unix_installer/install.sh.in +++ b/sc2/build/unix_installer/install.sh.in @@ -11,6 +11,8 @@ quithandler() { trap quithandler INT +umask 022 + cat << EOF -== The Ur-Quan Masters installation ==-