"Fossies" - the Fresh Open Source Software Archive

Member "littleutils-1.0.43/autoconf/grab_scripts.sh" (11 Sep 2019, 642 Bytes) of package /linux/privat/littleutils-1.0.43.tar.lz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 
    3 mkdir tmp
    4 cd tmp
    5 wget -N http://git.savannah.gnu.org/cgit/config.git/plain/config.guess \
    6   http://git.savannah.gnu.org/cgit/config.git/plain/config.sub \
    7   http://git.savannah.gnu.org/cgit/automake.git/plain/lib/install-sh \
    8   http://git.savannah.gnu.org/cgit/automake.git/plain/lib/missing \
    9   http://git.savannah.gnu.org/cgit/automake.git/plain/lib/mkinstalldirs
   10 cd ..
   11 echo ''
   12 for FNAME in config.guess config.sub install-sh missing mkinstalldirs ; do
   13   cmp -s ${FNAME} tmp/${FNAME}
   14   if [ "X$?" = "X0" ]; then
   15     echo "... skipping ${FNAME}"
   16   else
   17     echo "... updating ${FNAME}"
   18     cp tmp/${FNAME} .
   19   fi
   20 done
   21 rm -rf tmp