From 04b8aacb463c323811a294f49968105d2dcdda38 Mon Sep 17 00:00:00 2001 From: MeaTLoTioN Date: Mon, 11 May 2020 10:12:28 +0100 Subject: [PATCH] change compile script --- compile_nodelist.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compile_nodelist.sh b/compile_nodelist.sh index a828dd4..3c031a4 100755 --- a/compile_nodelist.sh +++ b/compile_nodelist.sh @@ -8,6 +8,14 @@ PACKDIR="${2:-IPACKDIR}" COMMIT="$(date "+%Y-%m-%d %H:%M:%S")" +ISOK=false + +echo -n "Did you save and commit changes in both $IWORKDIR and $IPACKDIR?: "; read ANSWER +case "$ANSWER" in + "no") echo "Aborted, go save and commit!"; exit 1;; + *) echo "continue";; +esac + cd $WORKDIR git pull