Fix stupid mistake in build revisions stuff, oops.

This commit is contained in:
T. Joseph Carter 2015-02-20 14:43:28 -08:00
parent 4d1fd58a74
commit 6119bfa9a0
2 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,7 @@ build_should_skip() {
build_save_revision() {
[ -z "$SKIP_UNCHANGED" ] && return
[ "$1" != "0" ] && return
echo $(fetch_revision) > "$WORKDIR/build_revisions/$2"
echo $(fetch_revision) > "$BUILD_REVISIONS_DIR/$2"
}

View File

@ -91,6 +91,8 @@ echo "STRIP = $STRIP"
mkdir -p "$RARCH_DIST_DIR"
if [ -n "$SKIP_UNCHANGED" ]; then
[ -z "$BUILD_REVISIONS_DIR" ] && BUILD_REVISIONS_DIR="$WORKDIR/build-revisions"
echo "mkdir -p \"$BUILD_REVISIONS_DIR\""
mkdir -p "$BUILD_REVISIONS_DIR"
fi