From: Mazet Laurent Date: Tue, 12 Dec 2023 22:32:41 +0000 (+0100) Subject: last fixes X-Git-Url: https://secure.softndesign.org/git/?p=iso2ps2.git;a=commitdiff_plain last fixes --- diff --git a/iso2ps2 b/iso2ps2 index e7a7699..f3bba93 100755 --- 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"