source: git/Singular/make_alllib.sh @ aee346d

spielwiese
Last change on this file since aee346d was b773c0, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
Making Singular usable in builddir (without 'make install')
  • Property mode set to 100755
File size: 254 bytes
Line 
1#!/bin/sh
2#C="$1"
3#C=`readlink -f "$C"`
4#C=`dirname "$C"`
5#C=`ls -d1 "$C"`
6
7cp $1 all.lib.n
8chmod u+rw all.lib.n
9shift
10for i in $*
11do
12        echo "LIB \"$i\";" >> all.lib.n
13done
14#       [ ! -e "$i" ] && (cp -nv "$C/$i" .)
15chmod u-w all.lib.n
16mv -f all.lib.n all.lib
Note: See TracBrowser for help on using the repository browser.