diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-03-09 07:33:01 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-03-09 07:33:01 +0000 |
commit | 47e4f6ccee0b80b8e27d8e4cc80c2397417221e3 (patch) | |
tree | 6d63c0774bcd6a24d85f9143b69a2955100d08e0 | |
parent | 5296bfa0912141e9eea35f0dc9d3518dbe95c5eb (diff) |
+ use 'cp -R' instead of 'cp -a' for macosx
svn path=/trunk/externals/moocow/; revision=10850
-rw-r--r-- | extended/Makefile | 2 | ||||
-rwxr-xr-x | extended/checklogs.sh | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/extended/Makefile b/extended/Makefile index 9dfef79..b89a311 100644 --- a/extended/Makefile +++ b/extended/Makefile @@ -48,7 +48,7 @@ pd_src ?= $(CURDIR)/../../../pd ##-- LN_S : make a symlink (for common code) #LN_S ?= ln -s -LN_S ?= cp -a +LN_S ?= cp -R ##====================================================================== ## Rules: default diff --git a/extended/checklogs.sh b/extended/checklogs.sh index 4012096..bbbb843 100755 --- a/extended/checklogs.sh +++ b/extended/checklogs.sh @@ -1,6 +1,6 @@ #!/bin/sh -## Usage: getlogs.sh [DATE [FORCE]] +## Usage: checklogs.sh [DATE [FORCE]] proto="http" baseurl="autobuild.pure-data.info/auto-build" @@ -9,6 +9,16 @@ baseurl="autobuild.pure-data.info/auto-build" #wget_quiet_flags="-nv" wget_quiet_flags="" +##-- help +USAGE="$0 [DATE [FORCE]]" +case "$1" in + -h|-help|--help|-\?) + echo "Usage: $USAGE" + exit 0 + ;; +esac + +##-- args logdate="$1" test $# -gt 0 && shift test -z "$logdate" -o "$logdate" = "-" && logdate=`date +%Y-%m-%d` |