Procházet zdrojové kódy

Use .skel suffix instead of .in

Alois Mahdal před 9 roky
rodič
revize
b1ae29510a
3 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 0
    0
      bin/eeini.skel
  2. 0
    0
      bin/eewww.skel
  3. 3
    3
      setup/mk.sh

bin/eeini.in → bin/eeini.skel Zobrazit soubor


bin/eewww.in → bin/eewww.skel Zobrazit soubor


+ 3
- 3
setup/mk.sh Zobrazit soubor

35
 build1() {
35
 build1() {
36
     local srcpath dstpath
36
     local srcpath dstpath
37
     srcpath=$1
37
     srcpath=$1
38
-    dstpath=${srcpath%.in}
38
+    dstpath=${srcpath%.skel}
39
     perl -pe "
39
     perl -pe "
40
         s|__EECC_INI_PATH__|$EECC_INI_PATH_GLOBAL:\\\$HOME/$EECC_INI_PATH_USER|;
40
         s|__EECC_INI_PATH__|$EECC_INI_PATH_GLOBAL:\\\$HOME/$EECC_INI_PATH_USER|;
41
         s|__VERSION__|$VERSION|;
41
         s|__VERSION__|$VERSION|;
45
 
45
 
46
 build() {
46
 build() {
47
     local srcpath
47
     local srcpath
48
-    find -type f -name '*.in' \
48
+    find -type f -name '*.skel' \
49
      | while read srcpath;
49
      | while read srcpath;
50
        do
50
        do
51
            build1 "$srcpath"
51
            build1 "$srcpath"
86
 
86
 
87
 run_test() {
87
 run_test() {
88
     pushd test
88
     pushd test
89
-    find -maxdepth 1 -type f \! -name '*.in' | while read test;
89
+    find -maxdepth 1 -type f \! -name '*.skel' | while read test;
90
     do
90
     do
91
         chmod 0755 $test
91
         chmod 0755 $test
92
         $test || exit $?
92
         $test || exit $?