Soft'N'Design Software
/
projects
/
iso2ps2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e2b40b
)
last fixes
master
author
Mazet Laurent
<mazet@softndesign.org>
Tue, 12 Dec 2023 22:32:41 +0000
(23:32 +0100)
committer
Mazet Laurent
<mazet@softndesign.org>
Tue, 12 Dec 2023 22:32:41 +0000
(23:32 +0100)
iso2ps2
patch
|
blob
|
blame
|
history
diff --git
a/iso2ps2
b/iso2ps2
index e7a76998290f6d06a45975a89f033565a2b426ca..f3bba93510fa2d4122292ab97e0ef4f0ed838e7d 100755
(executable)
--- a/
iso2ps2
+++ b/
iso2ps2
@@
-29,7
+29,7
@@
id=0
# init
file="$1"
[ -f "$file" ] || fail "can't find file"
-
[ "$(file $file | grep UDF)" ]
|| fail "file is not an UDF iso"
+
file "$file" | grep -q UDF
|| fail "file is not an UDF iso"
# get serial
serial=$(isoinfo -f -i "$file" | \
@@
-180,6
+180,7
@@
$PS2CLASSIC e cex $serial/ps2.key "$file" $serial/USRDIR/ISO.BIN.ENC ISO.BIN.ENC
# create package
title "create package"
$PSNPACKAGE $serial || fail "can't create package"
+mv $serial/$cid.pkg .
# create rap file
title "create rap file"