summaryrefslogtreecommitdiff
path: root/cad/src/experimental/demoapp_0.1/put.sh
blob: 6a24f3c1ed43d0d6c90da8a48d8c7a42dab73e43 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# usage: ./put.sh module.py subdir 
#  moves module.py from where it is to demoapp/subdir
#  after rewriting imports using $W/tools/Refactoring/RenameModule.py.
#  WARNING: does no error checking (except whatever RenameModule does).

$W/tools/Refactoring/RenameModule.py $1 demoapp/$2/
mv $1 demoapp/$2/