]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build-ceph-cmake.sh: another fix
authorSage Weil <sage@redhat.com>
Fri, 4 Sep 2015 12:46:47 +0000 (08:46 -0400)
committerSage Weil <sage@redhat.com>
Fri, 4 Sep 2015 13:03:10 +0000 (09:03 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
build-ceph-cmake.sh

index 97971546e03e8d15f04c2f196bbabdd6c359a661..a7f4f1b68c56c27d017f2dfab639c54e369af7b4 100755 (executable)
@@ -37,13 +37,13 @@ make -j$(nproc) "$@" || exit 4
 REV="$(git rev-parse HEAD)"
 OUTDIR="../out/output/sha1/$REV"
 OUTDIR_TMP="${OUTDIR}.tmp"
-install -d -m0755 -- "$OUTDIR_TMP"
-printf '%s\n' "$REV" >"$OUTDIR_TMP/sha1"
+install -d -m0755 -- "../$OUTDIR_TMP"
+printf '%s\n' "$REV" >"../$OUTDIR_TMP/sha1"
 MACH="$(uname -m)"
 INSTDIR="inst.tmp"
 [ ! -e "$INSTDIR" ]
 ../../maxtime 1800 ionice -c3 nice -n20 make install DESTDIR="$PWD/$INSTDIR"
-tar czf "$OUTDIR_TMP/ceph.$MACH.tgz" -C "$INSTDIR" .
+tar czf "../$OUTDIR_TMP/ceph.$MACH.tgz" -C "$INSTDIR" .
 rm -rf -- "$INSTDIR"
 
 # put our temp files inside .git/ so ls-files doesn't see them