Skip to content

Commit

Permalink
Fix: write in directory after creating the directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgourichon committed Jan 2, 2020
1 parent 7877342 commit 34b5ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recompile_local_debian_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ debuild -us -uc

OUTDIR="$PKGDIR/../compiled_packages/${DISTRO_ID}/${NAMEFORTAR}" #_$( date +%Yy%mm%dd_%Hh%Mm%Ss )"

echo "generated from git commit $GITREV" >"${OUTDIR}/${NAMEFORTAR}.gitversion"

mkdir -p "$OUTDIR"

echo "generated from git commit $GITREV" >"${OUTDIR}/${NAMEFORTAR}.gitversion"

cd ..

cp -v "${NAMEFORTAR}"?* "$OUTDIR"
Expand Down

0 comments on commit 34b5ae2

Please sign in to comment.