|
Last change
on this file was
138,
checked in by rosiere, 15 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
|
| Line | |
|---|
| 1 | #!/bin/bash |
|---|
| 2 | |
|---|
| 3 | #----------------------------------------------------------- |
|---|
| 4 | # $Id: unlock.sh 138 2010-05-12 17:34:01Z rosiere $ |
|---|
| 5 | #----------------------------------------------------------- |
|---|
| 6 | |
|---|
| 7 | #-----[ unlock_usage ]-------------------------------------- |
|---|
| 8 | function unlock_usage () |
|---|
| 9 | { |
|---|
| 10 | echo "Usage : ${0} file"; |
|---|
| 11 | |
|---|
| 12 | exit; |
|---|
| 13 | } |
|---|
| 14 | |
|---|
| 15 | #-----[ unlock ]-------------------------------------------- |
|---|
| 16 | function unlock () |
|---|
| 17 | { |
|---|
| 18 | if test ${#} -ne 1; then |
|---|
| 19 | unlock_usage ${*}; |
|---|
| 20 | fi; |
|---|
| 21 | |
|---|
| 22 | rm -f ${1}; |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | #-----[ Corps ]--------------------------------------------- |
|---|
| 26 | unlock ${*} |
|---|
Note: See
TracBrowser
for help on using the repository browser.