crossgcc: Fix calling outside util/crossgcc
Copy $0 contains the path, and we cd into that early. Change-Id: If4124d16dea97b5eee4996bdfa3eae3d5d94c5d1 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/9145 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
b5589026c7
commit
5602f2cd73
|
@ -614,8 +614,9 @@ printf "Building IASL ${IASL_VERSION} ... "
|
|||
) 2>&1 | wait_for_build "$IASL_DIR/source/compiler" || exit 1
|
||||
fi
|
||||
|
||||
rm -f $DESTDIR$TARGETDIR/$0.commit.*
|
||||
cp $0 $DESTDIR$TARGETDIR/"$0.commit.`git describe`"
|
||||
PROGNAME=`basename "$0"`
|
||||
rm -f "$DESTDIR$TARGETDIR/$PROGNAME".commit.*
|
||||
cp "$PROGNAME" $DESTDIR$TARGETDIR/"$PROGNAME.commit.`git describe`"
|
||||
|
||||
if [ $SAVETEMPS -eq 0 ]; then
|
||||
printf "Cleaning up... "
|
||||
|
|
Loading…
Reference in New Issue