From: W. Trevor King Date: Sat, 29 Nov 2014 16:48:13 +0000 (-0800) Subject: build.sh: Use Naohiro's $(whoami) default namespace X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=031e0f0c522edf8278a8957c580547a62ef91116;p=dockerfile.git build.sh: Use Naohiro's $(whoami) default namespace This way folks who aren't me don't need to explicitly set NAMESPACE. Naohiro added the line in bdb9c6cb (Initial import, 2014-06-27, [1]) and then clarified the licensing in 8f90d189 (Add copyright notice: issue #4, [2]). Based-on-patch-by: Naohiro Aota [1]: https://github.com/naota/dockergentoo/commit/bdb9c6cbdaa8b3dc1579c6c4fd1ae5cd89db83cc [2]: https://github.com/naota/dockergentoo/commit/8f90d189b7f4175f3447aa7f82b82799944f07c1 --- diff --git a/build.sh b/build.sh index 83870c3..4405ce8 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,7 @@ #!/bin/sh # # Copyright (C) 2013-2014 W. Trevor King +# Copyright (C) 2014 Naohiro Aota # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -25,7 +26,7 @@ # POSSIBILITY OF SUCH DAMAGE. AUTHOR="${AUTHOR:-W. Trevor King }" -NAMESPACE="${NAMESPACE:-wking}" +NAMESPACE="${NAMESPACE:-$(whoami)}" DATE="${DATE:-20141023}" MIRROR="${MIRROR:-http://distfiles.gentoo.org/}" ARCH_URL="${ARCH_URL:-${MIRROR}releases/amd64/autobuilds/${DATE}/}"