Debian Codegraph @

07p/cmds/@dm

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # copy one level deep without hidden files
3 for i in "$AUTO_DIR"/demos/$1/*
4 do
5 if testscip-shell system . . test. -d "$i"; then
6 d=`exprscip-shell system . . expr. "$i" : "$AUTO_DIR/demos/$1/\(.*\)"`
7 if testscip-shell system . . test. -f "$d"; then
8 rmscip-shell system . . rm. "$d$"
9 fi
10 mkdirscip-shell system . . mkdir. -p $d > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
11 cpscip-shell system . . cp. "$i"/* $d
12 else
13 cpscip-shell system . . cp. "$i" .
14 fi
15 done
16 echoscip-shell system . . echo. "Copying demo $1 ... done"