blob: a4c29825a4c4ab34a29d935ed8ddef52a0a454b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- old/build/pkgs/singular/spkg-install 2015-07-26 15:34:43.000000000 +0200
+++ new/build/pkgs/singular/spkg-install 2015-09-15 20:42:51.716505855 +0200
@@ -115,6 +115,11 @@
done
}
+nix_nuke_bin_rm()
+{
+ find . -exec sed -e 's@/bin/rm@rm@g' -i '{}' ';'
+}
+
remove_old_version()
{
rm -f "$SAGE_LOCAL"/bin/Singular*
@@ -306,11 +311,11 @@
# Actually run all the functions defined above
-for i in choose_patches apply_patches remove_old_version config \
+for i in choose_patches apply_patches nix_nuke_bin_rm remove_old_version config \
build_singular build_libsingular build_factory build_libfac \
create_singular_script install_docs ; do
echo "### Singular spkg-install: $i ###"
- cd "$SRC" && $i
+ cd "$SRC" && pwd && $i
if [ $? -ne 0 ]; then
echo >&2 "Error building Singular (error in $i)."
exit 1
|