diff options
author | Arun Raghavan <git@arunraghavan.net> | 2015-07-06 14:31:24 +0530 |
---|---|---|
committer | Arun Raghavan <git@arunraghavan.net> | 2015-07-06 14:35:52 +0530 |
commit | 299605dfe2f97fca330161ff01a392e1a85fe422 (patch) | |
tree | a06e31ba65eefff96e03bc1a64bce248f25637fd /scripts | |
parent | f0da038c340640d96e7db902ad1523f3498935ca (diff) |
Revert "scripts: Allow passing make flags to git-update.sh"
This reverts commit ab5fdd72129ea61e8dff51cdc0afcccac03ebc2b.
We can use the MAKEFLAGS environment variable to pass options to make,
so avoid adding another mechanism that could be confusing.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/git-update.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/git-update.sh b/scripts/git-update.sh index 89cb826f1..aaa738f81 100755 --- a/scripts/git-update.sh +++ b/scripts/git-update.sh @@ -18,8 +18,6 @@ EXTRA_MODULES="\ gst-rtsp-server \ gst-python" -MAKE_FLAGS= - tmp=${TMPDIR-/tmp} tmp=$tmp/git-update.$(date +%Y%m%d-%H%M-).$RANDOM.$RANDOM.$RANDOM.$$ @@ -93,7 +91,7 @@ build() fi echo "+ $1: make" - make $MAKE_FLAGS > "$tmp/$1-make.log" 2>&1 + make > "$tmp/$1-make.log" 2>&1 if test $? -ne 0 then echo "$1: make [$tmp/$1-make.log]" >> $ERROR_LOG @@ -130,8 +128,6 @@ fi exit } -MAKE_FLAGS=$@ - # build core and base plugins sequentially # exit if build fails (excluding checks) for m in $CORE; do |