From: miha-q <> Date: Thu, 21 Mar 2024 17:59:57 +0000 (-0400) Subject: Thu Mar 21 01:59:57 PM EDT 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=24ce63d06eb9b5756d999107ab8909211bc0d971;p=QAnsel.git Thu Mar 21 01:59:57 PM EDT 2024 --- diff --git a/build.sh b/build.sh index 4f46654..56d1474 100644 --- a/build.sh +++ b/build.sh @@ -12,12 +12,12 @@ done echo "Verified." echo "Building..." -if [ ! "$COPY_BUILD" = "" ] +if [ ! "$COPY_BUILD_PASS" = "" ] then cd src - ftp -inv 192.168.3.55 << EOF -user server1 $PASS -cd files/QAnsel/src + ftp -inv $COPY_BUILD_ADDR << EOF +user server1 $COPY_BUILD_PASS +cd $COPY_BUILD_PATH get kernel.c bye EOF @@ -66,9 +66,9 @@ for i in complex context display hardware bytecode openqasm main kernel_cpu do if [ ! "$COPY_BUILD" = "" ] then - ftp -inv 192.168.3.55 << EOF -user server1 $PASS -cd files/QAnsel/src + ftp -inv $COPY_BUILD_ADDR << EOF +user server1 $COPY_BUILD_PASS +cd $COPY_BUILD_PATH get $i.c bye EOF