From: vimacs Date: Wed, 11 Nov 2009 12:45:58 +0000 (+0100) Subject: spit out PXML.xml into pnd folder X-Git-Tag: Release-2010-05/1~155 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bae873b7bac39dc5617ab0e3df260b5d8680505;p=pandora-libraries.git spit out PXML.xml into pnd folder modified: pnd_make.sh --- diff --git a/testdata/scripts/pnd_make.sh b/testdata/scripts/pnd_make.sh index 6643f3e..dcba316 100755 --- a/testdata/scripts/pnd_make.sh +++ b/testdata/scripts/pnd_make.sh @@ -22,9 +22,9 @@ rnd=$RANDOM; # random number for genpxml and index$rnd.xml #generate pxml if guess or empty if [ ! $PXML ] || [ $PXML = "guess" ] && [ $PNDNAME ] && [ $FOLDER ]; then - PXMLtxt=$(./genpxml.sh $FOLDER $ICON) - PXML=tmp$rnd.pxml - echo "$PXMLtxt" > tmp$rnd.pxml + PXMLtxt=$(/home/user/libpnd/pandora-libraries/testdata/scripts/genpxml.sh $FOLDER $ICON) + PXML=$FOLDER/PXML.xml + echo "$PXMLtxt" > $FOLDER/PXML.xml fi #check arguments @@ -53,4 +53,4 @@ if [ $ICON ]; then # check if we want to add an icon fi fi -if [ $PXML = "guess" ];then rm tmp$rnd.pxml; fi #cleanup +if [ $PXML = "guess" ];then rm $FOLDER/PXML.xml; fi #cleanup