root/trunk/afick/fixperl.sh
| Revision 5, 223 bytes (checked in by marius, 5 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | files=$(ls *.pl) |
| 4 | |
| 5 | for file in $files |
| 6 | do |
| 7 | echo "sed 's/\/usr\/bin\/perl/\/usr\/local\/bin\/perl/' $file > foo" |
| 8 | sed 's/\/usr\/bin\/perl/\/usr\/local\/bin\/perl/' $file > foo |
| 9 | echo "mv foo $file" |
| 10 | mv foo $file |
| 11 | done |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)