Commit 3c3084c4 authored by uceme's avatar uceme
Browse files

Fix error in if condition

parent c8a574bf
......@@ -21,6 +21,6 @@ case "$TARGET_TRIPLE" in
;;
esac
DO_RELOCATE=1
SKIP_RELOCATE=1
. runspec.sh
......@@ -9,7 +9,7 @@ COMPLETEDEST="${DESTDIR}/$(basename "${SOURCE}")"
cd "${COMPLETEDEST}"
# Need to call "relocate" if the spec stuff ended up in a different directory
# than the original installation
if [ -n "$DO_RELOCATE" ]; then
if [ -z "$SKIP_RELOCATE" ]; then
(set +eu ; . shrc && bin/relocate)
else
(set +eu; .shrc)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment