Last change
on this file was
138,
checked in by rosiere, 14 years ago
|
1) add counters_t type for interface
2) fix in check load in load_store_unit
3) add parameters (but not yet implemented)
4) change environment and add script (distcc_env.sh ...)
5) add warning if an unser change rename flag with l.mtspr instruction
6) ...
|
-
Property svn:keywords set to
Id
|
File size:
511 bytes
|
Rev | Line | |
---|
[85] | 1 | #!/bin/bash |
---|
| 2 | |
---|
[82] | 3 | #----------------------------------------------------------- |
---|
| 4 | # $Id: unlock.sh 138 2010-05-12 17:34:01Z rosiere $ |
---|
| 5 | #----------------------------------------------------------- |
---|
[2] | 6 | |
---|
[138] | 7 | #-----[ unlock_usage ]-------------------------------------- |
---|
| 8 | function unlock_usage () |
---|
[2] | 9 | { |
---|
[78] | 10 | echo "Usage : ${0} file"; |
---|
| 11 | |
---|
[2] | 12 | exit; |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | #-----[ unlock ]-------------------------------------------- |
---|
| 16 | function unlock () |
---|
| 17 | { |
---|
[138] | 18 | if test ${#} -ne 1; then |
---|
| 19 | unlock_usage ${*}; |
---|
[2] | 20 | fi; |
---|
| 21 | |
---|
[138] | 22 | rm -f ${1}; |
---|
[2] | 23 | } |
---|
| 24 | |
---|
| 25 | #-----[ Corps ]--------------------------------------------- |
---|
[138] | 26 | unlock ${*} |
---|
Note: See
TracBrowser
for help on using the repository browser.