unix2dos and fix tar command
* Run the Windows specific files through unix2dos for easier consumption * Modify the tar command options to better support "build" on FreeBSD Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
parent
f58cbc7845
commit
fe7cbae65d
@ -114,6 +114,7 @@ stage_win() {
|
|||||||
for f in $src_files
|
for f in $src_files
|
||||||
do
|
do
|
||||||
cp -a "$SRC_ROOT/distro/windows/$f" "$DIST_ROOT/windows/$PV" || die "failed to copy $f"
|
cp -a "$SRC_ROOT/distro/windows/$f" "$DIST_ROOT/windows/$PV" || die "failed to copy $f"
|
||||||
|
unix2dos "$DIST_ROOT/windows/$PV/$f" || die "unix2dos conversion failed for $f"
|
||||||
done
|
done
|
||||||
|
|
||||||
# create bin dir with windows binaries
|
# create bin dir with windows binaries
|
||||||
@ -125,7 +126,7 @@ stage_win() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
make_tar() {
|
make_tar() {
|
||||||
(cd "$DIST_ROOT/unix/"; tar cz "$PV") > "$BIN_DEST/${PV}.tgz" || die "tar failed"
|
(cd "$DIST_ROOT/unix/"; tar -czf "$BIN_DEST/${PV}.tgz" "$PV") || die "tar failed"
|
||||||
note "tarball created at: $BIN_DEST/${PV}.tgz"
|
note "tarball created at: $BIN_DEST/${PV}.tgz"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user