Skip to content

Commit b9121e6

Browse files
committed
Minor build script enhancements.
1 parent e6578df commit b9121e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ elif [ -f "$XPI.zip" ]; then
149149
$xpicmd "$XPI.zip" "$XPI$DBG.xpi"
150150
echo "Created $XPI$DBG.xpi"
151151
fi
152-
else
152+
elif ! [ -f "$XPI.xpi" ]; then
153153
echo >&2 "ERROR: Could not create $XPI$DBG.xpi!"
154154
exit 3
155155
fi
156-
ln -fs $XPI.xpi "$BASE/latest.xpi"
156+
ln -fs "$XPI.xpi" "$BASE/latest.xpi"
157157

158158
# create Chromium pre-release
159159

0 commit comments

Comments
 (0)