diff options
author | 2023-06-21 15:16:59 +0200 | |
---|---|---|
committer | 2023-06-21 15:16:59 +0200 | |
commit | bea802e12e3bb8fc7b4f4dcd4aa9e1812798be76 (patch) | |
tree | e4f982d5b190a31121ccc5b1744a8791eb593391 /noide | |
parent | 033e8dd31e95d23a8906ed438e053909bb12e02f (diff) | |
download | noide-bea802e12e3bb8fc7b4f4dcd4aa9e1812798be76.tar.gz noide-bea802e12e3bb8fc7b4f4dcd4aa9e1812798be76.zip |
Some corrections
Diffstat (limited to 'noide')
-rwxr-xr-x | noide | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -41,11 +41,7 @@ update_copyright() s="\/\*-" m=" \*" e=" \*\/" - elif [ "$ftype" = 'makefile script' ]; then - s="#-" - m="#" - e="" - elif [ "$ftype" = 'POSIX shell script' ]; then + elif [ "$ftype" = 'makefile script' ] || [ "$ftype" = 'POSIX shell script' ]; then s="#-" m="#" e="" @@ -68,9 +64,10 @@ update_copyright() rm $tmpfile } -while [ $# -gt ]; do +while [ $# -gt 0 ]; do case $1 in --update-copyright) + shift update_copyright $@ ;; esac |