From f9ff72cbda6b4e59448fd79ef9e12f264d48015f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Jul 2005 00:23:57 +0000 Subject: r8298: - started building a library of js routines in scripting/libjs/ - switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b) --- source4/script/installswat.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/script/installswat.sh') diff --git a/source4/script/installswat.sh b/source4/script/installswat.sh index 1d89c2e86c..05245d8f06 100644 --- a/source4/script/installswat.sh +++ b/source4/script/installswat.sh @@ -2,6 +2,7 @@ SWATDIR=$1 SRCDIR=$2 +LIBDIR=$3 echo Installing swat files in $SWATDIR @@ -26,6 +27,12 @@ installdir scripting/*.ejs scripting/*.esp scripting/*.js installdir style/*.css installdir docs/*.js + +echo "Installing js libs" +cd ../source/scripting || exit 1 +mkdir -p $LIBDIR/js +cp libjs/*.js $LIBDIR/js + cat << EOF ====================================================================== The swat files have been installed. -- cgit