summaryrefslogtreecommitdiff
path: root/Dragon/data/tdraglib.save
diff options
context:
space:
mode:
authorstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
committerstainer_t <thomas.stainer@oecd-nea.org>2025-09-08 13:48:49 +0200
commit7dfcc480ba1e19bd3232349fc733caef94034292 (patch)
tree03ee104eb8846d5cc1a981d267687a729185d3f3 /Dragon/data/tdraglib.save
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Dragon/data/tdraglib.save')
-rwxr-xr-xDragon/data/tdraglib.save19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dragon/data/tdraglib.save b/Dragon/data/tdraglib.save
new file mode 100755
index 0000000..b7e739e
--- /dev/null
+++ b/Dragon/data/tdraglib.save
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+if [ $# = 0 ]
+ then
+ echo "usage: tdraglib.save directory" 1>&2
+ exit 1
+fi
+MACH=`uname -s`
+Sysx="`echo $MACH | cut -b -6`"
+if [ $Sysx = "CYGWIN" ]; then
+ MACH=`uname -o`
+elif [ $Sysx = "AIX" ]; then
+ MACH=`uname -s`
+else
+ MACH=`uname -sm | sed 's/[ ]/_/'`
+fi
+ls -l
+mv saCOMPO $1/"$MACH"
+echo "tdraglib.save completed"