# HG changeset patch # User František Kučera # Date 1545391086 -3600 # Node ID fb8956bb44ecb1fd4bdb55ed1307834352d5401a # Parent 590c037b29c9627a694157181bb80a0fd0f91575 install script: use variable for ~/src diff -r 590c037b29c9 -r fb8956bb44ec relpipe-data/examples/release-v0.8.sh --- a/relpipe-data/examples/release-v0.8.sh Thu Dec 20 01:45:30 2018 +0100 +++ b/relpipe-data/examples/release-v0.8.sh Fri Dec 21 12:18:06 2018 +0100 @@ -13,7 +13,7 @@ # Helper functions: relpipe_download() { for m in "$@"; do cd "$RELPIPE_SRC" && hg clone -u "$RELPIPE_VERSION" https://hg.globalcode.info/relpipe/relpipe-$m.cpp || break; done; } -relpipe_install() { for m in "$@"; do cd "$RELPIPE_BUILD" && mkdir relpipe-$m.cpp && cd relpipe-$m.cpp && cmake -DCMAKE_INSTALL_PREFIX:PATH="$RELPIPE_INSTALL" ../../src/relpipe-$m.cpp && make && make install || break; done; } +relpipe_install() { for m in "$@"; do cd "$RELPIPE_BUILD" && mkdir relpipe-$m.cpp && cd relpipe-$m.cpp && cmake -DCMAKE_INSTALL_PREFIX:PATH="$RELPIPE_INSTALL" "$RELPIPE_SRC/relpipe-$m.cpp" && make && make install || break; done; } # Download all sources: relpipe_download lib-protocol lib-reader lib-writer lib-cli in-cli in-fstab out-gui.qt out-nullbyte out-ods out-tabular out-xml tr-cut tr-grep tr-python tr-sed tr-validator