Skip to content

Commit

Permalink
os: fix generate-packages.sh regenerating existing packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ffwff committed Sep 10, 2019
1 parent 3d83466 commit 761363b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/generate-packages.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh

for dir in ../userspace/applications/* ../userspace/libraries/*; do
if [[ ! -e $dir ]]; then
ln -sf $dir $(basename $dir)
if [[ ! -e $(basename $dir) ]]; then
echo $dir => $(basename $dir)
ln -sf $dir $(basename $dir)
fi
done

0 comments on commit 761363b

Please sign in to comment.