pkg.sh: Fix build errors in gaflib projects

Fix build errors in gaflib projects. This might kill some
functionality, not sure.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-02-24 17:50:02 +00:00
commit b9dc5ca4db
2 changed files with 19 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
shift # get rid of the '-c' supplied by make.
echo running "$*" >>/tmp/make-cmds.log
time /bin/bash -c "$*"
log=/tmp/make-cmds.log
echo running "$*" >> $log
time /bin/bash -c "$*" 2>&1 | tee -a $log