summaryrefslogtreecommitdiffstats
path: root/Cancer/assets/bin/fast
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-12-30 03:05:26 +0100
committermakefu <github@syntax-fehler.de>2013-12-30 03:05:26 +0100
commit0b81bca953ec7cdf373ff97b11ebd6fb847d733f (patch)
tree63d62f6c32dd6726f823eb2af32cb2a7fab03530 /Cancer/assets/bin/fast
parent96151bd07330aee400fb99fd9f8f117bae42c9e5 (diff)
libkrebs is obsolete
Diffstat (limited to 'Cancer/assets/bin/fast')
-rwxr-xr-xCancer/assets/bin/fast20
1 files changed, 20 insertions, 0 deletions
diff --git a/Cancer/assets/bin/fast b/Cancer/assets/bin/fast
new file mode 100755
index 00000000..41725d0b
--- /dev/null
+++ b/Cancer/assets/bin/fast
@@ -0,0 +1,20 @@
+#!/bin/bash
+set -xeuf
+cd $(dirname $(readlink -f $0))
+
+if [ "$1" == "c" ];then
+ ./ass create "$2" && export ASS_CREATED="$2"
+ for i in `env | grep -v '^ASS_CREATED=' | grep "^ASS" | cut -d '=' -f 1`;do
+ e=`echo $i | cut -d '_' -f 2 | tr '[A-Z]' '[a-z]'`
+ eval con=\$$i
+ $0 s "$e" "$con"
+ done
+else if [ "$1" == "s" ]
+then
+ ./ass set "${ASS_CREATED}" "${2}" "${3}"
+ else
+ echo "you are made of stupid!"
+ cat $0
+ exit 23
+ fi
+fi