summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/srcdist.rawball7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/srcdist.rawball b/bin/srcdist.rawball
index 5df09ea..4906e23 100755
--- a/bin/srcdist.rawball
+++ b/bin/srcdist.rawball
@@ -14,6 +14,7 @@ mb_tarball_sha256=
mb_script="$0"
mb_status=1
+mb_manifest=MANIFEST.rawball
export LC_ALL=C
@@ -137,16 +138,16 @@ rawball_extract_upstream_tarball()
mb_packed=$(find ${mb_rawdir} -type f | sort)
mb_refobj=$(find ${mb_rawdir} -type f -printf "%T@ %p\n" | sort -n | cut -d' ' -f 2- | tail -n 1)
- mb_status=$(cd -- ${mb_rawdir}; sha256sum $(find . -type f | sort) > MANIFEST.RAWBALL)
+ mb_status=$(cd -- ${mb_rawdir}; sha256sum $(find . -type f | sort) > ${mb_manifest})
touch -a -c -m -r ${mb_refobj} $(find ${mb_rawdir} -type d)
- touch -a -c -m -r ${mb_refobj} ${mb_rawdir}/MANIFEST.RAWBALL
+ touch -a -c -m -r ${mb_refobj} ${mb_rawdir}/${mb_manifest}
touch -a -c -m -r ${mb_refobj} ${mb_rawdir}
}
rawball_create_downstream_rawball()
{
- pax -w -x tar ${mb_packed} ${mb_rawdir}/MANIFEST.RAWBALL | xz -c > "$mb_rawball"
+ pax -w -x tar ${mb_packed} ${mb_rawdir}/${mb_manifest} | xz -c > "$mb_rawball"
}
# init variables and verify arguments