Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/retroarch-clover.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakemod.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/makemod.sh b/makemod.sh
new file mode 100755
index 0000000..22724ba
--- /dev/null
+++ b/makemod.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+moddir=retroarch.hmod
+modname=retroarch.hmod
+outdir=output
+[ -z "$1" ] || outdir=$1
+cd "$moddir"
+rm -f "$modname"
+tar -czvf "$modname" *
+mkdir -p "../$outdir"
+rm -f "../$outdir/$modname"
+mv "$modname" "../$outdir/$modname"