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:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-02-18 07:46:12 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-02-18 07:46:12 +0300
commitc4d9e3a9248d199fe63b078bdc5d2557089a9599 (patch)
tree7ed8eaeaa69c013497c7baefde7965637080d655
parent3a3436e07499a059b78ef6cfb0ae17829e6b5220 (diff)
added script for *nix
-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"