]> mj.ucw.cz Git - libucw.git/blobdiff - build/installer
Some Perl modules have moved to UCW namespace.
[libucw.git] / build / installer
index be4a2bbd5e5d8c24591ae60c1bc02968e8cb5465..b06ca50947c45b4e5b89301abd27284f3ac16c5b 100755 (executable)
@@ -5,14 +5,15 @@ echo "Installing to $DEST"
 for d in "" cf $SH_EXTRA_RUNDIRS ; do
        if [ ! -d $DEST/$d ] ; then
                echo "Creating $DEST/$d"
-               mkdir $DEST/$d
+               mkdir -p $DEST/$d
        fi
 done
-echo "Installing binaries..."
-rm -rf $DEST/{bin,lib}
-mkdir -p $DEST/{bin,lib}
-cp -aL run/bin/* $DEST/bin/
-cp -aL run/lib/* $DEST/lib/
+for d in $SH_INSTALL_RUNDIRS ; do
+       echo "Installing to $DEST/$d"
+       rm -rf $DEST/$d
+       mkdir -p $DEST/$d
+       cp -aL run/$d/* $DEST/$d/
+done
 echo "Installing config files..."
 for a in $SH_CONFIGS ; do
        if [ -f run/cf/$a ] ; then