[clbuild-devel] Only link extra ASDs if project directories exist

Stefan Nobis stefan-ml at snobis.de
Fri Feb 22 19:03:46 UTC 2008


Hi.

New patches:

[Only link extra ASDs if project directories exist
Stefan Nobis <stefan at snobis.de>**20080222170139] {
hunk ./clbuild 681
-    ln -sf $source_dir/mcclim/Experimental/freetype/*.asd ${system_dir}/
-    ln -sf $source_dir/eclipse/system.lisp ${system_dir}/eclipse.asd
-    ln -f -s $source_dir/graphic-forms/src/external-libraries/*/*/*.asd \
-       ${system_dir}
-    ln -sf $source_dir/clg/*/*.asd ${system_dir}
-    ln -sf $source_dir/cells-gtk/*/*.asd ${system_dir}
+    [ -d $source_dir/mcclim/Experimental/freetype ] && ln -sf $source_dir/mcclim/Experimental/freetype/*.asd ${system_dir}/
+    [ -d $source_dir/eclipse ] && ln -sf $source_dir/eclipse/system.lisp ${system_dir}/eclipse.asd
+    [ -d $source/graphic-forms/src/external-libraries ] && ln -f -s $source_dir/graphic-forms/src/external-libraries/*/*/*.asd ${syst$
+    [ -d $source/clg ] && ln -sf $source_dir/clg/*/*.asd ${system_dir}/
hunk ./clbuild 687
-    ln -sf $source_dir/cffi/uffi-compat/uffi.asd ${system_dir}/
+    [ -d $source/cffi/uffi-compat ] && ln -sf $source_dir/cffi/uffi-compat/uffi.asd ${system_dir}/
+
+    return 0 # ensure last test don't return an error code
}

[Whitespace cleanup
Stefan Nobis <stefan at snobis.de>**20080222183532] {
hunk ./clbuild 756
-  run gsharp        run the Gsharp score editor
+  run gsharp        run the Gsharp score editor
hunk ./clbuild 797
-# to return a failure code when invoked using a correct --help option...
+# to return a failure code when invoked using a correct --help option...
hunk ./clbuild 817
-
+
hunk ./clbuild 881
-
+
}


-- 
Until the next mail...,
Stefan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 162 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/clbuild-devel/attachments/20080222/56c74c64/attachment.sig>


More information about the clbuild-devel mailing list